September 13th, 2012, 07:05 PM
Problem with background image alignment
Hi guys, I'm new here and have a problem which I am having trouble solving.
I'm fairly new to css and am still learning - the site I have created uses a template which I have modified. Its built up with a top bar, footer, side partition and main content section. I have an image which I want to cover all of the sections in the background. So far I can't get it to format properly - as I'm new I don't have the knowledge to sort this out. Can anyone suggest what I can do other than cutting the image up and distributing it over the sections?
Any help or guidance would be deeply appreciated.
September 14th, 2012, 03:49 AM
It would help to see the css you have already but otherwise, set the image as a background on the body:
background: url("path_to_image") no-repeat top centre;
September 14th, 2012, 12:51 PM
Welcome to DevShed Forums, stestatonda.
simplypixie, remember that only American English spellings are valid for CSS property names and value keywords; "centre" should be "center".
September 14th, 2012, 01:21 PM
Woops - weirdly I normally end up spelling center instead of centre if writing I am so used to it