Reply to Re: Hide text with css

Your name:

Reply:


Posted by Andy Dingley on 02/15/07 13:53

On 15 Feb, 09:20, "Gin" <nomaginNOS...@yahoo.com> wrote:

> can I hide it with some css trick

Set the property visibility: hidden; to make it invisible.

Set the property display: none; to make it vanish and not take up any
space.

(or do both together)


To do this, you'll need to find a CSS selector that identifies that
section of the HTML page. This could be impossible, depending on the
structure of the existing page. If you can modify the page to have
some distinctive class of "hideable" or id attribute that's in a
suitable scope, then it's easier.

..hideable font b {
visibility: hidden;
display: none;
}

If there's a similar scope within this region (e.g. a <h2>) that you
don't want to be hidden, then you might be able to over-ride the CSS
applied to it with a CSS block like this

..hideable h2 font b {
visibility: inherit;
display: inherit;
}

I doubt you can add a style attribute to the HTML itself, because if
you could do this much, you probably wouldn't be having the initial
problem!

[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

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