Record or Upload Your Videos FREE
Powered by MaxBlogPress  


Style Your Body

Let me ask you a question. How would you normally define the main elements of your website?

Like This?

<body bgcolor=”#FFFFFF” link=”#0000FF” vlink=”#800080″ alink=”#FF0000″ font face=”Arial, Helvetica, Sans Serif” size=”+2″ color=”#000000″>

OR – Like This:

<body>

The first example is the “old-fashioned” HTML – WYSIWYG way of defining how the main elements of the body will display on a web page.

The second example is how the HTML would appear if you “styled your body (tag)” in a Style Sheet.

OK – How does the browser know what to display, based on an opening <body> tag like that?

In the <head> of your document you add this:
<style type=”text/css”> and follow with this
image of body styling
</style>

So, there’s the basic style for the <body> tag for the content of your web page. No bulky redundant code!

Style and Smile!

Claire Poulton

Share and Enjoy:
  • Twitter
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Yahoo! Bookmarks
  • Google Bookmarks
  • Live
  • Slashdot
  • StumbleUpon
  • Technorati
  • TwitThis
  • YahooMyWeb
  • Propeller
  • BlinkList
  • Blue Dot
  • Fleck
  • LinkedIn
  • Yigg
  • blogmarks
  • De.lirio.us
  • Linkter
  • MySpace
  • Yahoo! Buzz

No Comments »

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.