CSS Question about scrollbars & overflow .
hey all
i have a quick question
if my div is set to "overflow:auto" how can i get rid of the bottom scroll bar ?
since i have a fixed width & height when the auto scroll gets added on certain pages it takes away from my width and therefore adds the other scroll bar as well which is totally un-nesasary *SP
thanks
chrishirst posted this at 08:57 — 11th May 2005.
He has: 379 posts
Joined: Apr 2005
Possibly you are not using a full, valid doctype and the browsers are in "quirks" mode or there are widths defined for some element inside the that are wider than the parent container.
Chris
Indifference will be the downfall of mankind, but who cares?
Venue Capacity Monitoring
Code Samples
timjpriebe posted this at 13:37 — 11th May 2005.
He has: 2,667 posts
Joined: Dec 2004
In my limited CSS experience, any negative margins up against the edges will invariably cause this to happen. Best to use float:left and float:right and that sort of thing rather than exact placement of items. In other words, elements within the div should have dynamic widths/relative placement.
Tim
http://www.tandswebdesign.com
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.