Top Border Sample Web Page Using White Snowflake
on Blue Background Tile and CSS
This sample page shows the Snowflake
tile repeated only at the top of the page using CSS (Cascading Style
Sheets). The code for this, which is placed within the <head></head>
tags, is as follows:
<STYLE TYPE="text/css">
BODY {background: #FFFFFF; background-image:
url(wdsf.jpg); background-repeat: repeat-x; margin-top: 120px}
</STYLE>
The page background color is indicated
in red text above, which is white in this case. You can change it
to the blue color in the tile which will make it blend more into
the page. The color code for blue is 0000FF (four zeroes and two
F's). I've included the margin tag so that
this content clears the graphic at the top. To see the same graphic
tiled down the left side of the sample page, click here.
If you want to copy the code above,
copy only from the <style type="text/css"> tag through
the </style> tag. Click before the first bracket of the first
tag, then hold and drag your mouse through the last bracket of the
last tag to hightlight the code. Then press the Ctrl and C keys
at the same time to copy (Command-C for Macs). To paste, press Ctrl
and V at the same time (Command-V for Macs).
Graphic created with Paint Shop Pro
7 and Microsoft Wingdings.
Close this window
to return to the patterned
tiles page.
Terms
of Use
|