PDA

View Full Version : force horizontal scroll?



Olwe
26 Apr 2011, 10:46 PM
I've got a page that is 900px wide with the main wrapper div centered with margin-left, margin-right:auto. I then put a small graphic (125x40) "outside" the wrapper with an absolute value trick:


img#outsidePix { position: absolute; top: 3px; left: -110px;}

But if the screen/browser is small (< 900px), the picture is cut off. Q: Is there a way to turn horizontal scrolling on before the viewing (screen, browser) is sized below 900px wide?

spade
27 Apr 2011, 11:42 AM
it is a good practice to put everything in your "wrapper" when you design a site in div

for scrolling try overflow:scroll; property if this don't help then show me the design code maybe i can help