Change Background Images
Chapter - 15 : Background Color and Images (Change Background Images): (Page 2/3)
(Cotinued from previous page)
15.2.1- Background Repeat: If you do not want to repeat the image or repeat it in only one direction, then use following commands
body {background-image:url('images/logo.gif');
background-repeat:no-repeat;}
This will show the image only once (Fig- 15.3).
body {background-image:url('images/logo.gif');
background-repeat:repeat-x;}
This will repeat the image only in horizontal direction. (Fig- 15.4).
body {background-image:url('images/logo.gif');
background-repeat:repeat-y;}
This will repeat the image only in vertical direction. (Fig- 15.5).
(Cont......... to next page (Pg-3))
©
funandhobby.com (Change Background Images)