From concept to reality. Teach me how to CSS style my divs [closed]
- by unixman83
I have the html layout of my simple web page below (commented). What css do I add to <div> classes to get the rendering that I want? I want to learn. Give me the CSS file for it please.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>My Website</title>
</head>
<body>
<div class="outer"> <!--Outer content box 750px wide-->
<div class="header">
The heading of the page.
</div>
<div class="main">
<div class="leftbar">
A sidebar on the left with categories.
</div>
<div class="content">
The main content of the page.
</div>
</div>
</div>
</body>
</html>