Site looks good in Firefox but a formatting issue in IE

ventophile - October 1, 2006 - 22:07

I have made a Drupal site using Drupal 4.7.3 and the Sunflower theme. It looks great in Firefox, but there is a minor formatting issue with Internet Explorer.

In IE, when a line of text reaches the right-hand side of the page, it vanishes before it wraps onto the next line, so some of the text is lost. Even when the browser window is stretched out to the right, this irritating 'vanishing area' still exists.

To see what I mean, screenshots of the right-hand edge of a line of text just before it wraps can be found below, in both browsers:

http://ventophile.net/other/Firefox_pic.jpg
http://ventophile.net/other/IE_pic.jpg

Any idea what I can do to prevent this?

Thanks in advance... Phil

In your css thing try

ryivhnn - October 2, 2006 - 01:40

In your css thing try shortening whatever class the coloured bars are using (or class the div they're in) to 80 or 90 something % rather than 100%. IE occasionally has issues with percentage width coz it tries to stretch elements to 100% of the entire screen width rather than 100% of whatever other element they're in. A small enough percentage difference probably really won't be noticed in FF but you shouldl get the ends of your bars back in IE :)

That works a treat - many

ventophile - October 3, 2006 - 23:29

That works a treat - many thanks for your help! I only had to reduce it to 97% and it looked fine in IE. Cheers :)

 
 

Drupal is a registered trademark of Dries Buytaert.