Click to See Complete Forum and Search --> : background


GoverNment
05-22-2008, 05:45 AM
site:
www.diberadin.com/diberadin.htm

i need to get the background in a fixed postion ( center) for every browser and different resolution, should i slice my images and then use that ? or can i just center the whole thing somehow?

KDLA
05-22-2008, 06:17 AM
body {background: #000 url(file.jpg) no-repeat fixed center center;}


Reference: http://www.w3schools.com/css/css_background.asp

Note: Some versions of IE only recognizes the "fixed" property if in the <body>.

GoverNment
05-22-2008, 01:55 PM
would that be the same with all my divs to?