Jumat, 20 Februari 2009

background-color:red;width:200px;">
HTML background code is limited, CSS background code is much better!





background-attachment:fixed;
overflow:scroll;
width:200px;
height:100px;">



background:url(/pix/smile.gif) repeat fixed;
overflow:scroll;
width:200px;
height:100px;">
HTML background code is limited, CSS background code is much better!
example shows how a background image can be set to a fixed position
- even though its containing block scrolls.





<body style="background-color:#eeeeee;">
...content goes here...



background="/images/image_name.gif" bgcolor="black">




HTML Background Code from Quackit.com