PDA

View Full Version : background align center AND top


iamlowlikeyou
05-16-2009, 01:44 AM
Anybody know if there is a way to both align a background image to center and top?
I mean, so that it is centered horizontally, but is aligned to top vertically...

thanks.

coloeagle
05-16-2009, 02:27 AM
background-position:top center;

coloeagle
05-16-2009, 02:29 AM
Take a view of the background properties available.
http://www.w3schools.com/CSS/css_background.asp

iamlowlikeyou
05-16-2009, 03:02 AM
background-position:top center;

So easy:mrgreen:
thanks!