OK, here's the case:
(and it is really very weird!)

page: http://www.rec.bg/en/test.shtml
css:  http://www.rec.bg/css/test.css

Page is valid XHTML 1.0 Transitional.

The problem: in IE after the last news item appears the following:

5]

Which is (as I have just discovered) the repetion of the LAST TWO CHARACTERS in 
the LAST LINE in the LAST NEWS DIV.

So, "5]" is basically the end of "[Published in section grants on 01/10/2005]".

WHY WOULD IE 6 COPY THE LAST TWO CHARACTERS in the last DIV on a new line??? I 
mean, it's html code, why would the browser REPEAT IT TWICE?

I tested in FF 1.5, Opera 8.5, IE 6.0, all under WinXP SP2.

Only in IE this weirdnedd appears.

All of the DIVs with news inside are floated to the left. Then all floats are 
cleared (using the FOOTER, which has "clear: both;" applied to it).

Ever seen that? Any help?


Greets, Michel



///////////////////////////////////////////////////////////////////////////////

PS Just *before* hitting "SEND" button, tested ONE more thing I could think 
about. Before the END of the MAIN DIV (which inclued all of the floated to the 
left news items) I added the following:
<div class="clear"><!--clear--></div>           

The class "clear" has in the CSS only this applied to it:
.clear {clear: both; height: 1px;}

IMMEDIATELY the bug has resolved itself in IE 6.0 as if by miracle!
Updated page can be seen here:
http://www.rec.bg/en/test-fixedbug.shtml

Still, I wanted to post this, as to me it appeared very strange that IE can 
REPEAT HTML code when floats cleared not inside the containing DIV, before its 
end, but RIGHT AFTER IT, using the NEXT DIV, which supposedly would clear it.
Anyone experienced something so strange and does anybody know the reason for 
this "IE behaviour"? And isn't it CORRECT to clear floats in this way (using 
the 
  container right AFTER the div with floats inside)?

Thanks and have a great day, everyone! :-)


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to