If you apply the style to the container, then you don't need to assign styles individually to different elements (except where you want them to be different).

On Mon, 11 Feb 2008 13:22:52 +1000, Taco Fleur <[EMAIL PROTECTED]> wrote:

Hi Tim,
What I mean by duplicate style is that if I assigned color: red, font-size: 0.8em to the <p> tag, I will have to assign the same style to my <li> tags
to make sure they look the same.
OK, general consensus so far is, it's ok to put it in, but preferred to
leave them out and style the <li> tag separately.
Thanks

Kind regards, Taco Fleur


  _____

clickfindT 1300 859 179
www.clickfind.com.au <http://www.clickfind.com.au/>  the new Australian
search engine for businesses, products and services .


  _____

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Tim MacKay
Sent: Monday, 11 February 2008 1:14 PM
To: wsg@webstandardsgroup.org
Subject: RE: [WSG] use of <p> in <li>



Hi Taco,


In the case of the example you provided I'd say definitely no need for the nested <p> tag. The <li> tags are enough to describe the content inside them - they are items in a list. I don't see how it is a duplicate style of the
<p> tag either, in my experience it is good practice to style your lists
differently than your paragraphs.


Hope this helps,


Best Regards,


Tim




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



--
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