1 reply [Last post]
Dilara Jones
Dilara Jones's picture
Offline
newbie
Newbury Park, CA
Last seen: 3 years 11 weeks ago
Newbury Park, CA
Timezone: GMT-7
Joined: 2011-10-03
Posts: 1
Points: 2

Hello, I have this css template file for my background image and I need help to have this css to adjust my background image to any screen resolution. Thank you.

body{
	background:url(../images/template/background.jpg);
 
	color:#7c7c7c;
	font: normal 12px "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	margin:0;
	padding:0;
	text-align:center;
 
 
}

Dilara

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 10 hours 32 min ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5148
Points: 2746

Hi Dilara, You might be

Hi Dilara,
You might be better using an image tag rather then a background, positioning it, using z-index to put it below everything and using % values for it's width and height.