|
|
<BODY ...>
| this code | produces this |
<STYLE TYPE="text/css">
<!--
BODY
{
padding-left: 100px;
padding-right: 100px;
}
-->
</STYLE>
|
this page |
This technique is popular when used in combination with a background image. For example, suppose we want the following image to run down the left side of the page (as it does on this page):
repeat-y (only repeat vertically down the left side of the page) and sets the left padding to 60 (we won't set the right padding).
<STYLE TYPE="text/css">
<!--
BODY
{
background-image:url(blue.edge.gif);
background-repeat:repeat-y;
padding-left: 60px;
}
-->
</STYLE>
|
Recommended Resources |
|||
| web hosting tutorials Credit Help |
Search the Internet Search Engine Help |
Low Fat Lifestyle Internet Traffic |
Web
Hosting Web Design |
|
Discount
Hotel Reservations All
Rights Reserved, Copyright © Free-HTML-Tutorials.com 2003 |
|||