Re: [css21] undo style declarations / cascading

It looks as though the CSS3 attr() may cover this, though since it isn't
supported anywhere it's not totally clear how various scenarios are
handled. Or if they even can be without knowing the specific attribute
value format on the replaced element.

<img width="300" />
<img width="300px" />
<img width="300%" />

img {width: auto;}
img {width: attr(width ?);}





-- 
Pete Boere
Web Developer

Received on Thursday, 8 November 2012 10:37:22 UTC