On 12 Oct 2005, at 8:48 am, Gunlaug Sørtun wrote:
Jan Brasna wrote:
":after generated content cannot receive some CSS properties,
including 'position', 'float', list properties, and table
properties."
That's CSS2. Can't find that line in CSS2.1.
All those properties are perfectly fine in CSS 2.1. Unfortunately,
those are not yet supported in Gecko browsers
<https://bugzilla.mozilla.org/show_bug.cgi?id=238072>
[...]
Firefox won't even react to 'margin', as exemplified by W3C (CSS21),
while Opera, Safari, and even iCab, are doing fine with simple 'margin'
and absolute positioning. Only Opera seems to be able to handle
'positioned :hover:after'.
?? margin seems to work perfectly fine here. Both on Firefox 1.6a1
nightly trunk build and Firefox 1.5beta 2
<http:dev.l-c-n.com/_temp/after.php>
(the word blah in a grey box after each paragraph, and the word 'the
End' as body:after)
Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com/>
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************