Click to See Complete Forum and Search --> : [RESOLVED] background trouble
ninjanutz
Jul 29th, 2005, 12:43 AM
i have a backround image thats bigger than the browser window. is there a way to format it so the entire image can show on the page without having a scrollbar?
visualAd
Jul 29th, 2005, 02:16 AM
You can do this in CSS (http://www.w3.org/TR/CSS21/colors.html#background-properties). The following defines a background image which fills the whole page:
body {
background-image: url("repeat;
background-attachmenpath/to/image.jpg");
background-repeat: no-repeat;
background-position: 100% 100%;
}
P.s: moved to the HTML forum.
ninjanutz
Jul 29th, 2005, 02:49 AM
this leaves the image bigger than my window
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.