ADJUSTING THE WHOLE WEB PAGE'S SETTINGS

Giving the whole page a set style allows for easy editing of a page's other, than an individual part of the web page. For example, instead of using the FONT tag with an A tag for every link in making them one color, you can use a simple attribute in the BODY tag. Below is listed all the ways you can change a web page through the BODY tag.
    

 If you wish to set the font colors for the entire web page, use the attribute "text" set to a color, without the quotes. If you wish to set a background color for an entire page, use "bgcolor" (without the quotes) set to a color of your choice.
<body text="black" bgcolor="blue">
    
 You can also set the colors for the page's links as well. To set the color for a normal link, use "link" (without the quotes) set to the color of your choice. To set the color of a link you are currently viewing its linked contents of, use "alink" (without the quotes) set to a desired color. Finally, to set the color of a link which you already visited and no longer are visiting, use "vlink" (without the quotes) set to a color of your choosing.
    
 Don't want a color as your background? Have no fear - you can have any image you like. Just use "background" (without the quotes) set to the image of your choice. It uses the same image formats as the IMG tag. If you would like the image to be set in a fixed position, meaning that the image is still yet the rest of the page scrolls when you scroll a page. Use bgproperties="fixed" (with quotes where they are given).
<body background="kel2000.jpg" bgproperties="fixed" >
     

Finally you can set the left and top margins of the content on a web page. Setting both margins to 1 will wrap the entire page to these margins, and may be illegible at times, so you may wish to use 2 as the setting. To set the left margin, use "leftmargin" (without the quotes) and for the top margin, use "topmargin" (without the quotes) as the attributes.
<body leftmargin="1" topmargin="1">

Share this

Related Posts

Previous
Next Post »