You are here: Re: Way to disable CSS styles in fragment on the code « HTML « IT news, forums, messages
Re: Way to disable CSS styles in fragment on the code

Posted by Els on 11/17/51 11:56

Mateusz wrote:

> Helo!
>
> At first, excuse me for my poor english.
> This problem, as I can estimate, is not trivial. I asked for help in couple
> of groups but nobody could help me. This group is most proper I guess.
>
> In fact, I want to disable all defined before (or inherited) styles in the
> fragment of document and restore default browser styles (naked html).
>
> I have css loaded at head section:
>
> <link rel="stylesheet" href="/style.css" type="text/css">
>
> ... and I want beetween <td> and </td> pure html without any styles.

In only one <td>, or in the entire table?

If only in one, add a style to your stylesheet to reset all the styles
to default.
For instance, if you have a style for the other td's "text-align:left;
font-weight:bold; color:red;", then the one td that shouldn't have
those styles, needs a class, and then you add to the stylesheet:
td.foo{
font-weight:normal;
color:black;
}

Just counter all the styles you set for the rest of the page. You can
look up the default values if you don't know them.

--
Els http://locusmeus.com/

 

Navigation:

[Reply to this 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

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