NM Web Tutorials
XHTML
Display Picture Make Text Link Make Image Link Basic Text Attributes Make a List Easy Back Button HEX ColoursCSS
Font/Colour Attributes Roll Over-text Roll Over-image Borders Float Margins Padding BackgroundsOther Useful Tips
Add to Search Engine TermsThis is the Image we will be using:
![]()
CSS
What The Code Does
body {
background: #000000 url(images/blackredgradientsmall.jpg) top left repeat-x;
}
Lets take a close look at that, #000000 is the colour for a black background, url(images/blackredgradientsmall.jpg) is to locate the image, and top left repeat-x; is so the image will begin from the top left, and repeat on the x axis (horizontal) for the whole page.
Home | Layout | Background Colour | Background Image-Type 1 | Background Image-Type 2