View Single Post
  #2 (permalink)  
Old 17-12-2007, 11:43
Ben Ben is offline
Premium Member
 
Join Date: Jan 2007
Location: setcookie()
Posts: 1,139
Send a message via AIM to Ben Send a message via MSN to Ben Send a message via Yahoo to Ben
Default

Okay. Let's make sure you know most CSS properties. I'm going to bundle them all in one selector then explain each one individually:

Code:
p {
font-family: verdana;
font-variant: small-caps;
font-size: 12pt;
text-align: center;
text-decoration: underline;
text-transform: capitalize;
text-indent: 5px;
background-image: url("http://www.eukhost.com/images/images/images/secret.gif");
backround-position: top left;
background-attachment: fixed;
background-repeat: no-repeat;
background-color: #ffffff;
}
font-family: could also be: verdana, arial, sans-serif; if verdana isn't available choose arial else choose from sans-serif. Note that sans-serif are fonts without feet, serif are fonts with feet and mono-space are fonts that have a fixed width.

font-variant: could also be none

font-size: you can also choose px (pixels) and em.

text-align: can also be left and right

text-transform: can also be uppercase, lowercase and justify

text-indent: makes an indent (white space).

background-attachment: can also be scroll. Fixed means when the page scrolls it stays in the same position..

background-repeat: repeat, repeat-x, repeat-y and no-repeat.

In the next tutorial I'll explain about margins and paddings.

:santasmiley: :santasmiley: :santasmiley: :santasmiley:
__________________
dynBB.com PHP Tutorials & Webmaster Help Forums - need help? find PHP tutorials, help & more @ dynBB.com forums! CSS, PHP, MySQL & more!
Reply With Quote