You are here: Re: overriding inline styles? « HTML « IT news, forums, messages
Re: overriding inline styles?

Posted by John Salerno on 02/01/06 04:14

Chris Beall wrote:
> John Salerno wrote:
>> Jukka K. Korpela wrote:
>>
>>> John Salerno <johnjsal@NOSPAMgmail.com> wrote:
>>>
>>>> Concerning the joys of working with someone else's markup: Is there
>>>> a way to have my external stylesheet override the inline fonts (and
>>>> other deprecated style elements) that are in these other html
>>>> files?
>>>
>>> Yes, but you need to use !important.
>>>
>> Where do I put this? After every rule in my stylesheet?
> John,
>
> Yep. See http://www.w3.org/TR/CSS21/cascade.html#important-rules.
>
> It might be easier to clean up the original HTML, especially if you're
> going to be maintaining the site later.
>
> Chris Beall
>

Thanks for the link. Scary thought to clean it all up, but maybe I can
find a way to just auto-delete all the font and alignment tags, etc.

 

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

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