View Single Post
Old 01-14-2013, 12:28 AM   PM User | #1
Zeke2
New Coder

 
Join Date: Oct 2010
Posts: 30
Thanks: 11
Thanked 0 Times in 0 Posts
Zeke2 is an unknown quantity at this point
Is this the right way to structure a website?

Hi, I was wondering if this is an appriopriate way for structuring a website. I think it'll work? But I don't know if this is the right way or just another way of doing it. Any advise would be appriciated

Code:
<!DOCTYPE html>
<html>
<head>
<style>

div.ex { 
margin:auto;
width:800px;
height:1200px;
padding:1px;
border:1px solid blue;
}

div.exe {
margin:auto;
width:600px;
height:100px;
border:1px solid red;
}

div.exe2 {
margin:auto;
width:798px;
height:20px;
border:1px solid red;
}

div.exe3 {
float:left;
width:50px;
height:500px;
border:1px solid red;
}

div.content {
float:left;
width:700px;
height:500px;
border:1px solid red;
}

div.right {
float:left;
width:44px;
height:500px;
border:1px solid red;
}
</style>

</head>
<body>
<div class="ex">
    <div class="exe">banner
    </div>
    <div class="exe2">Nav
    </div>  
    <div class="exe3">VerNav fffffffff
    </div>     
    <div class="content">Content
    </div>
    <div class="right">Right nav
    </div>
</div>     
</body>
</html>
Zeke2 is offline   Reply With Quote