I've got a design which is 1032px wide which means that on a 1024x768 screen an annoying horizontal scrollbar will appear.
The entire design is 1032px wide but the actual content that needs to be seen is slightly less than that (about 960px). The excess width is due to fancy borders etc which aren't really that important.
My question is, is there a nifty way of telling the browser that if the page is too wide, it's fine to crop a certain number of pixels from either side rather than putting in a horizontal scrollbar?
Question
Nick Brunt
I've got a design which is 1032px wide which means that on a 1024x768 screen an annoying horizontal scrollbar will appear.
The entire design is 1032px wide but the actual content that needs to be seen is slightly less than that (about 960px). The excess width is due to fancy borders etc which aren't really that important.
My question is, is there a nifty way of telling the browser that if the page is too wide, it's fine to crop a certain number of pixels from either side rather than putting in a horizontal scrollbar?
Here's what currently happens:
And here is what I would like to happen:
Thanks
Link to comment
Share on other sites
20 answers to this question
Recommended Posts