DSGN53871
WEB DESIGN 1

Cascading Stylesheets

CSS can be used to control the placement of images on a page as part of the background.

Background titling can be controled by:

  • repeat-y
  • repeat-x
  • no-repeat

  • Within the background-repeat

    Background image position can be controlled by using center, left, right, bottom, top in any combination. - background-position:

    An image can be "fixed" on the page by using - background-attachment: fixed

    <style>
    body { background-image: url(images/slice.jpg);
    	   background-repeat: repeat-y;}
    </style>
    	


    << Back


    Interactive Multimedia ~ School of Applied Engineering and Computing Sciences ~ Sheridan