[solved] IE6 causing me headaches with page display

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

[solved] IE6 causing me headaches with page display

Post by cnymike »

http://www.senecahillperennials.com

If you have IE6 and view this site, the thumbnails on the various Plant pages will not always be aligned to the left of the column. Sometimes they behave as if there was a left margin or padding. And when you mouse over the thumbnail it will suddenly jump to the correct position.

Any ideas what could be causing this? I've viewed tha page with Firefox, Safari, IE6 on a PC and Firefox, Safari, on a Mac and IE6 is the only browser that doesn't show the page correctly. I'm stumped.

Michael
Last edited by cnymike on Sat Mar 15, 2008 2:57 pm, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: IE6 causing me headaches with page display

Post by Nullig »

Have you tried:

.plants {
  background-color: #FFFFCC;
  height: 1%;
  }

Nullig
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: IE6 causing me headaches with page display

Post by cnymike »

I haven't tried that but will attempt to see if that does it, over the weekend. I'll let the forum know if it works. Thanks.

Michael
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: IE6 causing me headaches with page display

Post by cnymike »

Nullig, Brilliant! That worked.

What is the reasoning for that? What is that "fixing" to solve the problem?

Michael
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: [solved] IE6 causing me headaches with page display

Post by Nullig »

It's a problem with IE6 or less when it doesn't know the exact dimension of a div, which contains certain elements - it tries to leave enough room as it's rendering. It's related to the 3 pixel jog. Specifying the height overrides this behaviour.

Nullig
Last edited by Nullig on Sat Mar 15, 2008 5:15 pm, edited 1 time in total.
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: [solved] IE6 causing me headaches with page display

Post by cnymike »

Thank you for the explanation.
Post Reply

Return to “Layout and Design (CSS & HTML)”