dottedquad
12-17-2005, 01:40 PM
css code:
#container
{
width:795px;
margin:0 auto 0 auto;
border:1px solid black;
}
#header
{
height:55px;
width:100%;
}
#navigation
{
width:100%;
}
#left-float
{
float: left;
width: 150px;
border: 1px solid red;
}
#right-float
{
float: right;
margin: 10px 10px 10px 10px;
border: 1px solid orange;
}
page code:
<body>
<div id="container">
<div id="header">asdf</div>
<div id="navigation">
<div id="left-float">Left float!</div>
<div id="right-float">Right float!</div>
</div>
</div>
</body>
The container is supposed to hold everything and the navigation is supposed to hold to two floats.
to view what issue i'm getting visit: www.techglo.net/office/index.php
#container
{
width:795px;
margin:0 auto 0 auto;
border:1px solid black;
}
#header
{
height:55px;
width:100%;
}
#navigation
{
width:100%;
}
#left-float
{
float: left;
width: 150px;
border: 1px solid red;
}
#right-float
{
float: right;
margin: 10px 10px 10px 10px;
border: 1px solid orange;
}
page code:
<body>
<div id="container">
<div id="header">asdf</div>
<div id="navigation">
<div id="left-float">Left float!</div>
<div id="right-float">Right float!</div>
</div>
</div>
</body>
The container is supposed to hold everything and the navigation is supposed to hold to two floats.
to view what issue i'm getting visit: www.techglo.net/office/index.php