Click to See Complete Forum and Search --> : Mysterious "Underlining" Problem


Evangogh
01-11-2006, 01:08 PM
Hello everyone!

I'm another who recently took the plunge into CSS layouts and though I'm certainly still in the bumbling stage, I love it! I do have a weird problem though. Basically I have a line that I do not want appearing under a heading in a box. It would probably be easiest just to check it out: http://www.myrthavega.com/home.html. *SOMETIMES* in IE6, an orange line the color of the box border appears all the way across the box under the heading. It will sporadically show up and then disappear/reappear or change thickness as you scroll up and down the page. It happens on some of the other pages (except the slideshow page which is not CSS yet), but mostly on the Home page.

If anyone has ever experienced such an issue or has any suggestions, I would greatly appreciate it! I also welcome any feedback/criticism of my work, as any tips or information are always helpful.

Thanks!

Fang
01-11-2006, 02:15 PM
It appears to be one of the float bugs. <div id="content">
<div class="feature" style="zoom:1;">
<h3>Home</h3>

Evangogh
01-11-2006, 02:44 PM
Thanks for the help, Fang! So far so good...

Just for my own edification, can you explain to me what the problem was and what "zoom: 1;" does? I'm just curious and it helps me learn.

Thanks!

Fang
01-11-2006, 03:36 PM
It gives an element "hasLayout" (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/cols/dnexpie/expie20050831.asp)

Evangogh
01-11-2006, 03:39 PM
Thanks again, Fang! Very informative article!