Boris wrote:
Please point your IE 6 to http://www.highscore.de/ie/ie6cssbug.html.
Does anyone know why IE 6 shifts the horizontal bar to the left when
it follows a paragraph that is put into a div-element which has a
left-border and padding-bottom set to greater than 0?
[snip]
For interest, I notice that it is shortened by 300 pixels. (That is, on my IE
6, it is 310 pixels from the RHS, whereas the other end is only 10 pixels from
the LHS). This appears to be consistent over several viewport widths.
And, of course, your green border is 300 pixels wide! And, guess what? Change
the border to 500px, and the line becomes 510 pixels from the RHS.
Spooky. But I have no idea what is happening. It is OK on Firefox 0.8,
Netscape 7.1, Opera 7.23, & IE 5. That latter is very suggestive!
Try putting a border round the <p>, for example:
p {
border: 1px dotted blue;
}
You will find that the <hr> gets closer to the RHS!
Bug, yes. New, don't know.
--
Barry Pearson
http://www.Barry.Pearson.name/photography/ http://www.BirdsAndAnimals.info/ http://www.ChildSupportAnalysis.co.uk/