centred, with hidden scroll bars

Joined
Aug 8, 2011
Messages
3
Reaction score
0
Points
1
one last question for now...

This website
http://exoshop.com

Has something I really want, but I can't work it out (I've tried, I've searched, I've studied, but no luck). It shows the center of the page, but has no scroll bars even though there is more image either side.

I tried making my page 1400 pixels wide with the content in the middle (just to make images flow better and look nicer on larger monitors), and I took out the horizontal scroll bars.
BUT
it loaded the page completely on the left, which with no scroll bars was pretty annoying because half the content was cut.

Suggestions?
Nor
 
Joined
Apr 21, 2007
Messages
1,174
Reaction score
23
Points
38
Location
Sydney, Australia
Your Mac's Specs
13" MBP, 2.26GHz, 8gb RAM
I assume you're talking about the background image?

You need to use CSS to define it's postion:


body
{
background-image: url('background-image-jpg');
background-repeat: repeat-y;
background-position: center top;
}
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top