genrelab
02-24-2008, 11:37 PM
I'm having difficulties getting my DIVs to line up. Furthermore, the discrepancies are different in FF that in IE. Help would be appreciated. :confused:
LINK: www.sshuc.com/t4h (http://www.sshuc.com/t4h)
HTML:
<div id="container">
<div id="header">
<div>
<p align="right"><input name="search" type="text" id="search" size="35" /> <input name="search_button" type="button" dir="ltr" lang="en" value="Search" xml:lang="en" />
</div>
<div id="header1a"><img src="images/A.png" alt="Traveling4Health.com" width="15" height="57" /><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('together','','images/B1.png',1)"><img src="images/B.png" alt="Traveling4Health.com" name="together" width="29" height="57" border="0" id="together" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('sun','','images/C1.png',1)"><img src="images/C.png" alt="Traveling4Health.com" name="sun" width="30" height="57" border="0" id="sun" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('fly','','images/D1.png',1)"><img src="images/D.png" alt="Traveling4Health.com" name="fly" width="29" height="57" border="0" id="fly" /></a><img src="images/E.png" alt="Traveling4Health.com" width="17" height="57" /></div>
</div>
<div id="header2">This area is for menu buttons.</div>
<div id="sidebar1">
<p><strong>Column One</strong></p>
<ul>
<li>Login button, or</li>
<li>Username and password fields</li>
<li>Register button</li>
<li>Animated menu here or below the banner</li>
</ul>
<p> </p>
</div>
<div id="sidebar2">
<div id="side1"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('rx','','images/rx1.png',1)"><img src="images/rx.png" alt="Traveling4Health.com" name="rx" width="68" height="87" border="0" id="rx" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('tooth','','images/tooth1.png',1)"><img src="images/tooth.png" alt="Traveling4Health.com" name="tooth" width="60" height="87" border="0" id="tooth" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('med','','images/med1.png',1)"><img src="images/med.png" alt="Traveling4Health.com" name="med" width="75" height="87" border="0" id="med" /></a></div>
<div id="side2"></div>
</div>
<div id="mainContent">
<p> </p>
<blockquote>
<p><strong>Main Welcome</strong></p>
<ul>
<li>Possible Video Commercial?</li>
<li>Flash Presentation?</li>
<li>Audio?</li>
<li>Could be split as welcome and featured advertiser?</li>
</ul>
<em>Lots of space here....</em>
<ol>
<li>How is this font size?
<ul>
<li><span class="style1">Can we get away with this size?</span></li>
</ul>
</li>
<li>How are we for color coordination and choices?
<ul>
<li>Is this too soft? Too neutral?</li>
</ul>
</li>
</ol>
</blockquote>
<!-- end #mainContent --></div>
<div id="footer">
<br /><br />
<!-- end #footer -->
</div>
<!-- end #container --></div>
CSS
@charset "utf-8";
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #f6f6f6;
text-align: center;
color: #000000;
}
.thrColLiqHdr #container {
width: 924px;
background: #FFFFFF;
text-align: left;
position: static;
height: 660px;
margin: 0pt auto;
}
.thrColLiqHdr #header {
height: 166px;
background-image: url(images/Traveling4Health1.png);
top: 0px;
position: relative;
background-repeat: no-repeat;
}
.thrColLiqHdr #header h1 {
}
.thrColLiqHdr #header1a {
height: 57px;
left: 804px;
top: 109px;
position: absolute;
}
.thrColLiqHdr #header2 {
height: 20px;
position: relative;
background-color: #FFFF33;
}
.thrColLiqHdr #sidebar1 {
float: left;
width: 203px;
background-image: url(images/sidebar-1.png);
background-repeat: no-repeat;
height: 410px;
position: absolute;
}
.thrColLiqHdr #sidebar1 p, .thrColLiqHdr #sidebar1 h3, .thrColLiqHdr #sidebar2 p, .thrColLiqHdr #sidebar2 h3 {
font-size: 16px;
font-style: normal;
}
.thrColLiqHdr #sidebar2 {
float: right;
width: 203px;
background-repeat: no-repeat;
position: relative;
height: 410px;
top: 0px;
clear: none;
padding-top: 9px;
}
.thrColLiqHdr #side1 {
width: 203px;
background-image: url(images/sidebar-2.png);
background-repeat: no-repeat;
position: absolute;
height: 87px;
padding-top: 0px;
}
.thrColLiqHdr #side2 {
width: 203px;
background-image: url(images/sidebar-2a.png);
background-repeat: no-repeat;
position: absolute;
height: 323px;
left: 0px;
top: 96px;
}
.thrColLiqHdr #mainContent {
background-image: url(images/main_content.png);
background-repeat: no-repeat;
position: absolute;
margin-top: 0px;
margin-right: 203px;
margin-left: 203px;
height: 410px;
}
.thrColLiqHdr #footer {
background-image: url(images/Traveling4Health2.png);
background-repeat: no-repeat;
position: absolute;
margin-top: 419px;
height: 84px;
width: 924px;
}
.thrColLiqHdr #footer p {
font-size: 16px;
text-transform: none;
text-decoration: none;
line-height: 24px;
}
.fltrt {
float: right;
margin-left: 8px;
}
.fltlft {
float: left;
margin-right: 8px;
}
.MagnifImage {background-color:#fff; color:#00f; font-weight:bold; border:4px outset #ccc; text-align:center; padding:0;margin:0;
}
.clearfloat {
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
LINK: www.sshuc.com/t4h (http://www.sshuc.com/t4h)
HTML:
<div id="container">
<div id="header">
<div>
<p align="right"><input name="search" type="text" id="search" size="35" /> <input name="search_button" type="button" dir="ltr" lang="en" value="Search" xml:lang="en" />
</div>
<div id="header1a"><img src="images/A.png" alt="Traveling4Health.com" width="15" height="57" /><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('together','','images/B1.png',1)"><img src="images/B.png" alt="Traveling4Health.com" name="together" width="29" height="57" border="0" id="together" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('sun','','images/C1.png',1)"><img src="images/C.png" alt="Traveling4Health.com" name="sun" width="30" height="57" border="0" id="sun" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('fly','','images/D1.png',1)"><img src="images/D.png" alt="Traveling4Health.com" name="fly" width="29" height="57" border="0" id="fly" /></a><img src="images/E.png" alt="Traveling4Health.com" width="17" height="57" /></div>
</div>
<div id="header2">This area is for menu buttons.</div>
<div id="sidebar1">
<p><strong>Column One</strong></p>
<ul>
<li>Login button, or</li>
<li>Username and password fields</li>
<li>Register button</li>
<li>Animated menu here or below the banner</li>
</ul>
<p> </p>
</div>
<div id="sidebar2">
<div id="side1"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('rx','','images/rx1.png',1)"><img src="images/rx.png" alt="Traveling4Health.com" name="rx" width="68" height="87" border="0" id="rx" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('tooth','','images/tooth1.png',1)"><img src="images/tooth.png" alt="Traveling4Health.com" name="tooth" width="60" height="87" border="0" id="tooth" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('med','','images/med1.png',1)"><img src="images/med.png" alt="Traveling4Health.com" name="med" width="75" height="87" border="0" id="med" /></a></div>
<div id="side2"></div>
</div>
<div id="mainContent">
<p> </p>
<blockquote>
<p><strong>Main Welcome</strong></p>
<ul>
<li>Possible Video Commercial?</li>
<li>Flash Presentation?</li>
<li>Audio?</li>
<li>Could be split as welcome and featured advertiser?</li>
</ul>
<em>Lots of space here....</em>
<ol>
<li>How is this font size?
<ul>
<li><span class="style1">Can we get away with this size?</span></li>
</ul>
</li>
<li>How are we for color coordination and choices?
<ul>
<li>Is this too soft? Too neutral?</li>
</ul>
</li>
</ol>
</blockquote>
<!-- end #mainContent --></div>
<div id="footer">
<br /><br />
<!-- end #footer -->
</div>
<!-- end #container --></div>
CSS
@charset "utf-8";
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #f6f6f6;
text-align: center;
color: #000000;
}
.thrColLiqHdr #container {
width: 924px;
background: #FFFFFF;
text-align: left;
position: static;
height: 660px;
margin: 0pt auto;
}
.thrColLiqHdr #header {
height: 166px;
background-image: url(images/Traveling4Health1.png);
top: 0px;
position: relative;
background-repeat: no-repeat;
}
.thrColLiqHdr #header h1 {
}
.thrColLiqHdr #header1a {
height: 57px;
left: 804px;
top: 109px;
position: absolute;
}
.thrColLiqHdr #header2 {
height: 20px;
position: relative;
background-color: #FFFF33;
}
.thrColLiqHdr #sidebar1 {
float: left;
width: 203px;
background-image: url(images/sidebar-1.png);
background-repeat: no-repeat;
height: 410px;
position: absolute;
}
.thrColLiqHdr #sidebar1 p, .thrColLiqHdr #sidebar1 h3, .thrColLiqHdr #sidebar2 p, .thrColLiqHdr #sidebar2 h3 {
font-size: 16px;
font-style: normal;
}
.thrColLiqHdr #sidebar2 {
float: right;
width: 203px;
background-repeat: no-repeat;
position: relative;
height: 410px;
top: 0px;
clear: none;
padding-top: 9px;
}
.thrColLiqHdr #side1 {
width: 203px;
background-image: url(images/sidebar-2.png);
background-repeat: no-repeat;
position: absolute;
height: 87px;
padding-top: 0px;
}
.thrColLiqHdr #side2 {
width: 203px;
background-image: url(images/sidebar-2a.png);
background-repeat: no-repeat;
position: absolute;
height: 323px;
left: 0px;
top: 96px;
}
.thrColLiqHdr #mainContent {
background-image: url(images/main_content.png);
background-repeat: no-repeat;
position: absolute;
margin-top: 0px;
margin-right: 203px;
margin-left: 203px;
height: 410px;
}
.thrColLiqHdr #footer {
background-image: url(images/Traveling4Health2.png);
background-repeat: no-repeat;
position: absolute;
margin-top: 419px;
height: 84px;
width: 924px;
}
.thrColLiqHdr #footer p {
font-size: 16px;
text-transform: none;
text-decoration: none;
line-height: 24px;
}
.fltrt {
float: right;
margin-left: 8px;
}
.fltlft {
float: left;
margin-right: 8px;
}
.MagnifImage {background-color:#fff; color:#00f; font-weight:bold; border:4px outset #ccc; text-align:center; padding:0;margin:0;
}
.clearfloat {
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}