The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Background problem - centering it horizontaly and verticaly

2 posters

Go down

Background problem - centering it horizontaly and verticaly Empty Background problem - centering it horizontaly and verticaly

Post by dudi March 2nd 2011, 10:59 am

So, as the title says, i have problems with centering high - res (1920 x 1200) background pictures. Is there any css way to fix this? thx in advance
dudi
dudi
Forumember

Male Posts : 104
Reputation : 30
Language : English

Back to top Go down

Background problem - centering it horizontaly and verticaly Empty Re: Background problem - centering it horizontaly and verticaly

Post by IndoRockers March 16th 2011, 12:05 pm

try by adding this..

body {
background-image: url ("http://yourimagehere.jpg");
background-position: center;
}
avatar
IndoRockers
Forumember

Male Posts : 47
Reputation : 0
Language : English
Location : Indonesia

http://www.indorockers.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum