Needing Help With Coding

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
CoolAsCarlito
Forum Contributor
Posts: 192
Joined: Sat May 31, 2008 3:27 pm
Contact:

Needing Help With Coding

Post by CoolAsCarlito »

Here is the layout I'm going with:

Image

I've started with the CSS coding and this is what I have so far:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Kansas Outlaw Wretling - "The True Outlaws Of The Midwest"</title>
<style type="text/css">
<!--
 
#header {
   margin: 0 auto;
   width:900px;
   height:200px;
}
 
#menu {
   margin: 0 auto;
   width:900px;
   height:50px;
}
 
#wrapper {
   margin: 0 auto;
   width:900px;
   height:700px;
}
 
#footer {
   margin: 0 auto;
   width:900px;
   height:30px;
}
 
#left_top {
   float:left;
   width:600px;
   height:350px;
}
 
#left_bottom {
   float:left;
   width:600px;
   height:350px;
}
 
#contain {
   float:left;
   width:600px;
   height:700px;
}
 
#right{
   float:right;
   width:300px;
   height:700px;
}
-->
</style>
</head>
 
<body>
<div id="header"></div>
<div id="menu"></div>
<div id="wrapper">
 
<div id="contain">
<div id="left_top"></div>
<div id="left_bottom"></div>
</div>
<div id="right"></div>
</div>
 
<div id="footer">Copyright © 2009 Kansas Outlaw Wrestling, LLC</div>
</body>
</html>

How does it look and how do I get my boxes looking like the blueprint I made of the page without using tables?
Cirdan
Forum Contributor
Posts: 144
Joined: Sat Nov 01, 2008 3:20 pm

Re: Needing Help With Coding

Post by Cirdan »

I would structure the html like this:

Code: Select all

 
<body>
 
<div id="header">
    <!--Logo-->
    <div id="navigation">
        <!--Links -->
    </div>
</div>
 
<div id="content">
    <div id="content_left">
        <div id="top">
               <!-- Content top -->
        </div>
        <div id="bottom">
                <!-- content bottom -->
        </div>
    </div>
    <div id="content_right">
         <!-- content right -->
    </div>
</div>
 
<div id="footer">
    <!-- footer stuff-->
</div>
 
</body>
 
Post Reply