Reply to Re: Hide text with css

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация