You are here: How to make a div ignore a property assigned by body tag? « HTML « IT news, forums, messages
How to make a div ignore a property assigned by body tag?

Posted by falconer on 08/10/06 18:13

I must work within a CMS which controls the styles attached to the body
tag -- I cannot alter this:

body {font-size: 13px}

but I *can* change the style of a tag within the body, i.e., ---

#wrap { }

But I cannot figure out how to instruct the wrap division to ignore the
instruction for the default font-size to be 13px. How can the font-size
of the #wrap container be made to be whatever the browser's default may
be?

I have tried
#wrap {font-size: normal}, or
#wrap {font-size: normal!important}, or
#wrap {font-size: 100%!important}, or
#wrap {font-size: 100%}

all without good result.

Please, does anyone know how to cut this Gordian knot?

Thanks!

 

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

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