Remove the embedded styles in the page, they are conflicting with the test.css file.
You don't need the display block on all those elements, a div IS a block-level element.
Ok, this works:
Quote:
<link rel="stylesheet" type="text/css" href="test_files/test.css" />
</head>
<body class="body-home">
<div id="container">
<div id="top">
<div id="rooftop">
<div class="logo">
<a href="http://www.fuel.tv/"><img alt="Fuel_logo_beta" src="test_files/betalogo.gif" height="90" width="155" /></a>
</div><!--end logo-->
<div class="site_ad ad_size_728x90"></div><!--end site_ad ad_size_728x90-->
<br class="brclear" />
<div id="bar">
<div class="navigation">
navigation navigation navigation navigation navigation navigation
navigation navigation navigation navigation navigation navigation
</div><!--end navigation-->
</div><!--end bar-->
</div><!--end rooftop-->
</div><!--end top-->
<br class="brclear" />
<div id="body_content">
<div id="widebar">widebar
widebar widebar widebar widebar widebar widebar widebar widebar widebar
widebar widebar widebar widebar widebar widebar widebar widebar widebar
widebar widebar widebar widebar widebar widebar widebar widebar widebar
widebar widebar widebar widebar widebar widebar widebar widebar widebar
widebar widebar widebar widebar widebar widebar widebar widebar widebar
widebar widebar widebar widebar widebar widebar widebar widebar widebar
widebar widebar widebar widebar widebar widebar widebar widebar widebar
widebar widebar widebar widebar widebar widebar widebar widebar widebar
widebar widebar widebar widebar widebar widebar widebar widebar widebar
widebar widebar widebar widebar widebar widebar widebar widebar widebar
widebar widebar
<div class="news_center">
<div class="tabs"></div>
<h1 class="title"></h1>
</div><!-- end news center -->
</div> <!--end widebar-->
<div id="sidebar">
sidebar sidebar sidebar sidebar sidebar sidebar sidebar sidebar sidebar
sidebar sidebar sidebar sidebar sidebar sidebar sidebar sidebar sidebar
sidebar sidebar sidebar sidebar sidebar sidebar sidebar sidebar sidebar
sidebar sidebar sidebar sidebar sidebar sidebar sidebar sidebar sidebar
sidebar sidebar sidebar sidebar sidebar sidebar sidebar sidebar sidebar
sidebar sidebar sidebar sidebar sidebar sidebar sidebar sidebar sidebar
sidebar sidebar sidebar sidebar sidebar sidebar sidebar sidebar sidebar
<div id="rightblocks">right blocks</div>
</div><!-- /sidebar_right -->
<br class="brclear" />
</div><!--end body_content-->
|
Quote:
#rooftop {
/*display: block;*/
/*height: 90px;*/
margin: 0 auto;
padding: 0;
width: 900px;
}
#rooftop .logo {
float: left;
/*height: 59px;
width: 158px;*/
margin-top: 0px;
}
#rooftop .logo img {
padding: 0px 0 0 0px;
/*width: 115px;*/
border: none;
}
#rooftop .leaderboard {
float: right;
height: 100px;
width: 728px;
}
.brclear { /* Use a break with this class to clear float containers on both sides */
clear:both;
height:0;
margin:0;
font-size: 1px;
line-height: 0;
}
.body-home {
background: url(2LMorig.jpg);
}
#rooftop, #bar, #utils, #nav, #footer {
/*display: block;*/
margin-right: auto;
margin-left: auto;
width: 900px;
}
#container {
border-top: 1px solid #fff;
background: #fff;
margin: 0 auto 60px auto;
padding: 0 10px 1px 10px;
width: 900px;
}
.clear { clear: both; height: 0; }
/* Rooftop */
#top {
/*display: block;*/
/*height: 100px;*/
margin: 6px 0 10px 0;
padding: 0;
width: 100%;
border: 1px solid orange;
}
.top_links {
font-size: .98em;
margin: 5px auto 0 auto;
text-align: right;
width: 900px;
}
#rooftop .ad_size_728x90{
background: url(aiphp.gif) no-repeat;
width: 728px;
height: 90px;
float: right;
}
#bar {
background: url(TAQ.orig.gif);
color: #CCC;
margin-top: 8px;
height: 77px;
}
/* Navigation */
.navigation{
height: 74px;
margin-bottom: 8px;
/*border: 1px solid red;*/
}
/* Main Area */
#body_content {
width: 900px;
margin-top: 12px;
height: 800px;
border: 1px solid green;
}
#widebar {
float: left;
width: 550px;
}
#sidebar {
background: #66CCFF;
float: left;
width: 300px;
}
|
You can take out the borders, I use them to troubleshoot so you can see where things are.
The width and height for your logo belongs in the HTML, and is not needed in the CSS.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
Last edited by LadynRed; 11-20-2007 at 11:57 AM..
|