Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: IE quirk advice please
01-03-2007, 10:39 PM #1
- Join Date
- Jan 2007
- Thanked 0 Times in 0 Posts
IE quirk advice please
I've spent way too much time on this and it probably is a simple tweak, but I just don't know what the problem is.
Everything looks fine in FF, but in IE there is extra space thrown in between divs. Specifically, right above the header image (I have a small div above that of a solid color, but IE throws extra space between that div and the header image div). Also, to the right, between the boxes. I have two divs containing a checkbox pattern. The last spot I noticed it is in the footer right under the footer bar (the last div). IE is throwing some extra white space.
Any idea why it's doing this?
01-03-2007, 11:28 PM #2
- Join Date
- Mar 2006
- Splendora, Texas, United States of America
- Thanked 270 Times in 264 Posts
This is due to an Internet Explorer bug where if you donít set the font size to zero, that browser will ignore the height you specified. In any case, I fail to understand why you have a non‐breaking space character in each of the boxes thatís causing you an issue. Additionally, it doesnít make sense that you have a spacer element at the top when you could just put a top padding on the layout container element instead.
Also, your page contains errors. …\; is not the correct character entity for the horizontal ellipsis character; it should be … (named), … (hexidecimal), or …\; (decimal). The ďCommon MistakesĒ section of this page explains why. Additionally, form elements require an action attribute; if you donít want or need the attribute, use something like a div element instead. Finally, all image element require an alt attribute, which provides text as an alternative when images cannot be displayed.
Note: The red slashes (\) above are to prevent the forum from parsing the character references as HTML; they arenít part of the code and should be removed.For every complex problem, there is an answer that is clear, simple, and wrong.