Re: [css-d] Redefining a style for a portion of html

2008-12-11 Thread Gunlaug Sørtun
Jim Albert wrote: Is there a way to redefine P but only for a portion of the HTML of a page? If you mean something like... p { font-size: small; font-family: verdana, arial, helvetica, sans-serif; } #sidebar p {font-size: x-small;} ...then that's how all paragraphs are given 'small'

Re: [css-d] Redefining a style for a portion of html

2008-12-11 Thread Gunlaug Sørtun
Jim Albert wrote: Am I getting close with the following: div.tinyp p { font-size: x-small; font-family: verdana,arial,helvetica,sans-serif; } And then use it as such: DIV class=tinypPI hope this html will use the div tinyp class/DIV It should work. The best would be if you presented

Re: [css-d] Redefining a style for a portion of html

2008-12-11 Thread Jim Albert
Gunlaug Sørtun wrote: Jim Albert wrote: Am I getting close with the following: div.tinyp p { font-size: x-small; font-family: verdana,arial,helvetica,sans-serif; } And then use it as such: DIV class=tinypPI hope this html will use the div tinyp class/DIV It should work. The best