Previous Message
Next Message

inheritance problem

Sent by Marty Martin on 4 August 2004 15:03


Hello everyone,

I am having a small inheritance problem.  I have a style assigned to all 
my paragraphs as follows:

div.maincontent p {
	background-color: transparent;
	color: #000;
	margin: 0px 10px 10px 10px;
	font: 0.8em Verdana, Arial, Geneva, Helvetica, sans-serif;
}

The problem is, when I nest a paragraph within a list item <li>, my font 
size is shrinking.  I tried to define a style as follows to correct the 
problem, but it isn't working.

div.maincontent li p, {
	color: #000;
	margin: 0px 10px 10px 10px;
	font: 1.0em Verdana, Arial, Geneva, Helvetica, sans-serif;
}

Can someone suggest a solution to fix this?  A sample page where you can 
see the problem is here:

http://www.leisurepublishing.com/vatg/index.cfm/fa/home.new.cfm

Thanks!
-- 
Marty Martin
ICN.NET (Icons, Inc.)
Internet Development | Hosting | Support
[EMAIL-REMOVED]
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: