Home Tutorial CSS CSS p (Paragraph)
CSS p (Paragraph) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:12

CSS p

Defines the properties for a paragraph element.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
2.0+ 1.0+ 1.0+ 4.0+ 1.0+

Example

 

This example sets the font family and size for paragraph text and adds padding to bottom of a paragraph:


p {
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
padding-bottom: 3px;
}

Remarks

Setting the font characteristics for your "p" elements will also set those characteristics for elements such as "b", and "i" that will inherit attributes such as "font-family" from the parent "p" tag.

 
 

Login Form



Who's Online

We have 27 guests online


PHYSICS DICTIONY  PHP MeeLink.com  PR page rank  thainaturecure   wedding
[webdirectory] [thai webdirectory] [ptc forums ] [jabjai board] [tutor php] [meelink blog][link-mee.blog][Favorites online][ptc ref online][online payment] THF