|
Posted by Jukka K. Korpela on 02/15/07 23:30
Scripsit Andy Dingley:
> The OP can't change their HTML.
Really?
> Typically they probably can, but only
> at a blunt whole-page level, not on an element-by-element level
> (BTDT).
Sorry, but that sounds ridiculous. You're saying "they" can change the
entire page but not one element there. Should I offer my services to "them"?
For some indecent sum of money, I could do the impossible for them (creating
a copy, changing what needs to be changed, and uploading the modified
version "at a blunt whole-page level").
> So if they try to apply simple CSS, we can't stop it being cacaded
> onto everything.
CSS works with a cascade, that's certain, but we _always_ have that problem
with CSS.
> This is intended as an example of how to reverse this
> effect for a more specific location (a <h2> in this case).
Yet you postulate the addition of a class attribute, thereby changing their
HTML:
> <div class="hideable" >
If you can actually modify the HTML, you can do things much more easily and
naturally.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
[Back to original message]
|