HOME      RESUME      PHOTOS      KHMER POEMS      QUOTATIONS      CONFESSIONS

  Software

  ♦ Adobe
  ♦ Macromedia
  ♦ Microsoft

  Web Programming

  ♦ ASP.NET
  ♦ JSP
  ♦ PHP
  ♦ Perl


Controling the Background Using Cascading Style Sheet

No need to do anything with your <BODY> within your HTML tag
Just leave it as is but make sure you do the following with your Style.

In the <HEAD> element do this:

Set Background Color of your page:

<head>
<style>
<!--
body {
background-color: #000066;
}
-->
</style>
</head>

The background color is required by the CSS specification. If you don't specify the background color, and you validate it using the W3C CSS Validation engine, you will get a warning that the background color is not specify. Get rid of that complaint by specify the background as follows:

body {
background-color: transparent;
}

For some reason, the W3C CSS Validator does not recognize that this is white:

body {
background-color: #FFFFFF;
}

You can choose your favorite color by using the color palette of the Tripod HTML Editor; or if you use Notepad to edit your page go to one of the following pages to get the color you want.

 

  NOTES:

   HTML

   CSS

   Photoshop

   Illustrator

   Flash


© 2003. Khemaravuth Sieng. All Rights Reserved.