Previous Message
Next Message

Re: [css-d] Use of italic changing the width of a div (IE Specific)

Sent by Adam Nowakowski on 8 June 2002 14:02


C Alcock [EMAIL-REMOVED] wrote:

CA> Hello Everyone.

CA> I have been working on a CSS based layout to redesign a very old site of
CA> mine.  I have encountered problems with the width of a div changing
CA> depending on if the text contained in it is italic or not.  This problem
CA> only presents itself in IE 5/6, with Mozilla and Opera rendering the page
CA> as expected. I have not ben able to test the problem on Mac browsers.  

CA> An example of the problem can be seen at:
CA> http://www.aetech.co.uk/new2/ttutor/

CA> with the CSS for the page being at:
CA> http://www.aetech.co.uk/new2/style.css

CA> Removing the font-style: italic; from the stylesheet for the blockquote
CA> tag makes the content div line up as desired.
because it's change a widht.

try this:

<div style="widht:75%">
<BLOCKQUOTE>
blah, blah, blah
</BLOCKQUOTE>
</div>

but IMO you should add global container with widht:75% after body tag
(view site after shrinking the width).



-- 
Adam Nowakowski
[EMAIL-REMOVED]
Previous Message
Next Message

Message thread: