October 22, 2002
IE 6.0 stylesheet bug fix

There's a bug in how IE 6.0 renders stylesheet. If you're using Movable Type templates you probably noticed that the part of your blog entries below the end of your side section is not visible.. reloading or moving back and forward sometimes fixes that. Here's a screenshot of Jeremy's Blog to show you what I mean.

I found a workaround for it using a stylesheet element.. seems to work fine. Simply add:

float: right;

To the #links section of your styles.css file. If you're not an MT user, it's the section that's causing IE to cut off content.. that's where you want to add it... of course if the section is on the left, you want 'float: left;'.

Edit: That breaks how mozilla renders the page, but that can also be fixed by adding a width attribute to the same section:

width: 30%;

So far this seems to work for me..

Posted October 22, 2002 05:07 PM in Blogging
TrackBack URL for this entry: http://www.unix-girl.com/mt/mt-tb.cgi/260
Comments
On October 22, 2002 05:41 PM john added:

Kasia,

This is a known issue in IE 6.

Including this line in your webpage templates (Jeremy would have to do this) should fix the problem:

<script language="javascript" type="text/javascript" src="http://www.inluminent.com/global.js"></script>

Of course, the person needs to host their own global.js file, which you can steal from me, which I think I stole from Mark Pilgrim.

I can't explain why it works, but it does.

#
On October 22, 2002 05:47 PM PopeMatt added:

Obviously the bug is the result of bad karma left over from when IE would render broken HTML tables that weren't rendered by Netscape ;)

#
On October 22, 2002 06:17 PM Breyten added:

Resizing your browser window always (ehhrm, don't pin me on that!) works with me.

However the bug you described doesn't always happen (with me). Like now, when I really want the bug to work ;)

#
On October 23, 2002 12:43 AM Jeremy Zawodny added:

All fixed. :-)

#
On October 24, 2002 02:17 AM Sid added:

You can also use the following, pasted in your template at the end of your index page, just before the /body tag:

Code Sample


This is what I used after extensively searching the MT Support Forums. It's the only thing that didn't seem to have side effects.

#
On June 28, 2003 04:12 AM tst added:

testing now just testing a bug

#
Trackbacks