Assign the paragraph style to a HTML tag that is surrounding all other tags?
If so, I would not feel comfortable with that.

Why not? If this is your HTML:

<div class="content">
<p>some text</p>
<ul>
<li>some text</li>
</ul>
</div>

This

.content {
color: red;
font-size: 1em;
line-height: 1.5
}

makes more sense and is more concise than

p {
color: red;
font-size: 1em;
line-height: 1.5
}

li {
color: red;
font-size: 1em;
line-height: 1.5
}

Although I spose you could do

p, li {
color: red;
font-size: 1em;
line-height: 1.5
}

But there may be cases where you want to apply a style to more than two or three elements, so it makes more sense to target them with a style on the container.

--
Tyssen Design
http://www.tyssendesign.com.au
Ph: (07) 3300 3303
Mb: 0405 678 590


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to