how to center background img
2 posters
Page 1 of 1
how to center background img
- Code:
body {
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #888888;
background-color: #177769;
background-image: url('http://psp-bg.net/wp-content/themes/Journic/images/Bg.jpg');
background-attachment: fixed;
font-size: 10px;
height: auto;
padding: 10px 0px;
}
Re: how to center background img
background-position property.
http://www.w3schools.com/css/pr_background-position.asp
Ex:
http://www.w3schools.com/css/pr_background-position.asp
Ex:
- Code:
background-position: center center;
newbieQ- Forumember
- Posts : 57
Reputation : 20
Re: how to center background img
and how to make ONLY ONE CENTERD BACKGROUND IMG???
see how it's: http://fliper4o.forumotion.net/
see how it's: http://fliper4o.forumotion.net/
- Code:
body {
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #888888;
background-color: #177769;
background-image: url('http://psp-bg.net/wp-content/themes/Journic/images/Bg.jpg');
background-position: center;
background-attachment: scroll;
font-size: 10px;
height: auto;
padding: 10px 0px;
}
Similar topics
» Background CENTER CSS
» How Do I Center My Background?
» How do I center the background?
» Center Background Image
» Background center problem
» How Do I Center My Background?
» How do I center the background?
» Center Background Image
» Background center problem
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum