Opened 14 years ago

Closed 14 years ago

#5970 closed Bug (wontfix)

IE8: Paragraph after floated div appears to have extra top padding

Reported by: Richard Waite Owned by:
Priority: Normal Milestone:
Component: General Version: 3.3.1
Keywords: CantFix IE8 Cc:

Description

this error occurs when the first element is a div, floated left. The second element is a paragraph with no added styles.

In IE8, the paragraph appears to have extra top padding. This does not happen with IE7 or IE6, or Firefox 3.6

Here is an example of code that can produce the error:

<div style="position: relative; width: 150px; float: left">
	Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel mi sed mauris iaculis vestibulum id quis nullaLorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel mi sed mauris iaculis vestibulum id quis nullaLorem ipsum dolor sit amet,</div>
<p>
	Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel mi sed mauris iaculis vestibulum id quis nulla. Quisque c ondimentum dui nec nunc laoreet hendrerit. Donec ipsum enim, hendrerit eget porta at, interdum vel velit. Suspendisse non libero egestas elit commodo semper a convallis turpis. Aenean pulvinar tortor non erat facilisis sodales sit amet a turpis.&nbsp;</p>

Attachments (1)

floatbug.JPG (43.9 KB) - added by Richard Waite 14 years ago.
Screenshot of bug in IE8

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by Richard Waite

Attachment: floatbug.JPG added

Screenshot of bug in IE8

comment:1 Changed 14 years ago by Richard Waite

ok it seems that it might have something to do with the Security zone settings in IE8 - if I use the editor on a site that is in the 'Internet' zone, the bug occurs. If I use it on a site that is in the 'Local Intranet' zone, the bug does not occur.

Changing the security settings for each zone does not seem to make any difference.

comment:2 Changed 14 years ago by Frederico Caldeira Knabben

Keywords: CantFix IE8 added

I'm really afraid this is an intrinsic browser bug and we can't do anything to solve it other than (somehow) report it to MS.

comment:3 Changed 14 years ago by Richard Waite

I was afraid of that!

FWIW I tried to avoid the bug by forcing IE8 to 'emulate' IE7, with mixed results.

If I use the compatibility view button in the toolbar, the bug does not occur. But if I use the meta tag 'X-UA-Compatible', the bug still occurs.

So although both these methods should force IE8 to emulate IE7, it seems that they don't quite work in the same way.

comment:4 in reply to:  1 Changed 14 years ago by Richard Waite

Replying to richardw:

ok it seems that it might have something to do with the Security zone settings in IE8 - if I use the editor on a site that is in the 'Internet' zone, the bug occurs. If I use it on a site that is in the 'Local Intranet' zone, the bug does not occur.

Changing the security settings for each zone does not seem to make any difference.

Apparently IE8 uses Compatibility mode for the local Intranet zone by default, which would explain this behaviour.

comment:5 Changed 14 years ago by Alfonso Martínez de Lizarrondo

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy