where to find css support
Leigh (72 points) | Thu, 2008-10-30 19:08Does anyone know of a board to post CSS questions? I'm so stuck...
Thanks.
Does anyone know of a board to post CSS questions? I'm so stuck...
Thanks.
Photoshop: From Ho-hum to Wow!
You can use Photoshop to bring out the magic of photos that are muddy, soft, or blandly composed.
watch a preview
On Demand Videos: Video tutorials for advertising pros and designers providing tools and information you can trust — and use — on your very next project. Subscribe today!
The specific problem is that I can't get my background image to center. It's a large image that is meant to center regardless of the window size, but instead it always remains top left aligned (with the 25px padding):
#container {
width: 954px;
height: 604px;
padding: 25px;
background-position: center center;
background-repeat: no-repeat;
background-image: url(../images/background.jpg);
}
It know it must be some stupid mistake that I keep missing,. This is my first site using CSS if that's any excuse. :)
Thanks.
try using the body tag to center your site:
body {
margin: 8px auto;
text-align:center;
}
www.alessandraandy.com
i moved the entire definition to the body section instead of the container and it worked.
thanks.