I have what I think is pretty simple css and it behaves differently in FF4 and IE8.
This CSS request is as follows:
div.showme { border: 1px dotted blue; position: absolute; top :10px; bottom :10px; left: 1%; right: 33%; overflow: auto; padding: 0.8em 1em 0.8em 1em; line-height:1.75em; } div.showme a { padding: 0em 5px 0em 5px; margin: 0; white-space: nowrap; color: #FF00FF; background-color:#E6E6FA; border: 1px solid grey; padding: 0em 4px 0em 4px; } div.showme a:link { color: blue; } div.showme a:visited { color: #1E90FF; } div.showme a:active { color: red; }
The relevant HTML is as follows:
<div class='showme'> <a href='one'>one</a> <a href='two'>two</a> ... </div>
The problem is that the padding does not appear sequentially in IE8.

In Firefox, it works as I expected.
working example:
http://jsbin.com/ogosa4
Using the above working demo, if you resize the window, you will see the registration on the "leading" element in each line in the div, change from zero to nonzero.
How can i fix this?
Cheeso
source share