Sunday, November 29, 2009

IE CSS workaround?

Look at http://www.song-list.net/chetbaker/songs . It renders correctly on Firefox, but not on IE. When the text in the Link Box is too long IE instead of breaking it into multiple lines, it breaks the containing %26lt;div%26gt;. I can fix the problem by manipulating the data, but I was wondering if there was a workaround to force IE to render this correctly.



You can see the CCS at http://www.song-list.net/stylesheets/son... . The text is within the sideblock div that has a width of 310 - yet IE breaks through it. This happens on both IE6 and IE7 though in slightly different ways.



IE CSS workaround?windows update





Quite clearly the problem is with your Chet Baker Lost and Found entry, which is overflowing the DIV in which it is contained.



I've looked at the source and can't see a problem with the string. It looks like you might be getting that data from the META keywords tag of another site; you might try replacing the blank spaces with new whitespace.



You could also add an overflow:hidden to the unnamed div holding that text.



Finally, %26lt;strong%26gt; is the XHTML tag for boldface, not %26lt;b%26gt;

No comments:

Post a Comment

 
shared web hosting