Thanks to all for their suggestions regarding my issue.

Georg, however DID solved the issue nicely - and without the need for IE
CC's - with his explanation below.

His instruction about adding an empty comment to each of the two divs in
quested eliminated the problem by 80%; when I completed his instruction by
amending the .homePage height from 585px to 580px, the fix was complete.

NOW, here's an interesting side note: I wondered why altering the .homePage
class height to an even number (580px vs the original 585px) would complete
the "fix". So I tried 586px - which also worked - where 587px did not.

Things that make you go "hummmmm": so - I guess for some reason - IE not
only doesn't like empty divs, it also doesn't care for odd numbered height
declarations.

Georg, thanks to you I still have a few hairs left. Your assistance was
great!

Cole

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Gunlaug Sørtun
Sent: Thursday, June 15, 2006 9:51 AM
To: [email protected]
Subject: Re: [WSG] OT - but really need help

Cole Kuryakin wrote:
> http://www.x7m.us/_problems/problem.htm

> Layout displays as per spec in FF, Netscape, Opera. But look at it in
> IE and you'll see the y-repeated background in both the #nav_bar and
> #content divs are increasing the height of the wrapper by about 3px.

IE/win doesn't see "empty divs" as being empty, without "something else"
inside those divs. Thus, IE will add 'line-height' to what it sees as a
space.

So, add a comment in there...
<div id="nav_footer"><!-- --></div>
<div id="content_footer"><!-- --></div>
...and even IE/win will get the message.

Then, correct the height slightly, from...
.homePage {height: 585px;}
...to...
.homePage {height: 580px;}
...and it should work.

Of course: fixed heights will easily make content overflow containers,
if anyone ever apply font-resize at the User end. Not part of _this_
problem though.

        Georg
-- 
http://www.gunlaug.no


******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************





******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to