Fotofoto
02-24-2008, 02:16 PM
I'm having problems with DIV's and browser compatibility. I can get everything to line up in FF OR IE but not both. The one that is out of place is always "sidebar2". If anyone could help, I'd be much obliged.
<div id="container">
<div id="header">
<div class="c1">
<p> </p>
<p><input name="search" type="text" id="search" size="35" /> <input name="search_button" type="button" dir="ltr" lang="en" value="Search" xml:lang="en" /> </p>
</div>
<div class="c1" 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>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
<div id="footer">
<br /><br />
<span class="style2">2008 Traveling4Health.com<a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-xhtml10-blue"
alt="Valid XHTML 1.0 Transitional" height="31" width="88" border="0"/></a><a href="#" target="_blank" class="style1"> Privacy Policy</a><a href="#" target="_blank">Terms & Conditions</a><a href="#" target="_blank">Contact Us</a><a href="#" target="_blank">Advertise</a><a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-css1"
alt="Valid XHTML 1.0 Transitional" height="31" width="88" border="0"/></a><a href="http://www.genrelab.com" target="_blank">Genre Laboratories Design Group</a></span>
<!-- end #footer -->
</div>
<!-- end #container --></div>
Thanks,
@:confused:
<div id="container">
<div id="header">
<div class="c1">
<p> </p>
<p><input name="search" type="text" id="search" size="35" /> <input name="search_button" type="button" dir="ltr" lang="en" value="Search" xml:lang="en" /> </p>
</div>
<div class="c1" 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>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
<div id="footer">
<br /><br />
<span class="style2">2008 Traveling4Health.com<a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-xhtml10-blue"
alt="Valid XHTML 1.0 Transitional" height="31" width="88" border="0"/></a><a href="#" target="_blank" class="style1"> Privacy Policy</a><a href="#" target="_blank">Terms & Conditions</a><a href="#" target="_blank">Contact Us</a><a href="#" target="_blank">Advertise</a><a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-css1"
alt="Valid XHTML 1.0 Transitional" height="31" width="88" border="0"/></a><a href="http://www.genrelab.com" target="_blank">Genre Laboratories Design Group</a></span>
<!-- end #footer -->
</div>
<!-- end #container --></div>
Thanks,
@:confused: