Associate
- Joined
- 25 Apr 2007
- Posts
- 139
Hi all,
I am trying to setup a background image that is scaleable upto 1400px wide which is the width of the image and also centred on the page. I have almost achieved it but at my resolution 1280x1024 it is not aligned to the top of the browser, how do I achieve this? My CSS knowledge is limited, so far I have this :
background-image:url(images/backgrounds/blah.jpg);
background-repeat:no-repeat;
background-size:contain;
background-position:center;
Link to page with CSS included below
http://www.shinehairsalon.net/ATGNI/
Many Thanks
Simon
I am trying to setup a background image that is scaleable upto 1400px wide which is the width of the image and also centred on the page. I have almost achieved it but at my resolution 1280x1024 it is not aligned to the top of the browser, how do I achieve this? My CSS knowledge is limited, so far I have this :
background-image:url(images/backgrounds/blah.jpg);
background-repeat:no-repeat;
background-size:contain;
background-position:center;
Link to page with CSS included below
http://www.shinehairsalon.net/ATGNI/
Many Thanks
Simon