Sent by Kevin W on 18 January 2003 11:11
> Many thanks, it seems to work perfectly in Internet Explorer 6.0 and
> Mozilla 1.2. Opera 6.05 puts the page numbers at the beginning of the
> next line, but that does not worry me too much as long as the CSS & HTML
> is correct.
Mozilla and IE are getting it slightly wrong, I think[*]. Just add bottom:
0 to make it look more or less the same in Opera as well.
[*] http://www.w3.org/TR/CSS2/visuren.html#q24, point 2 says the UA should
treat it as if display: block was set. And
http://www.w3.org/TR/CSS2/visudet.html#abs-non-replaced-height says that
since top is not defined, it should be replaced "with the distance from the
top edge of the containing block to the top margin edge of a hypothetical
box that would have been the first box of the element if its 'position'
property had been 'static'". Because of this, the absolutely positioned
span should behave like an absolutely positioned div and display on the
next line.
--
Kevin W :-)