SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Jun 11, 2004, 06:05 #1
- Join Date
- Feb 2004
- Location
- Italy,turin
- Posts
- 15
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
how to avoid scrollbars in div in firefox
I was testing a 3 column layout and in firefox the content div gets the scrollbars
no matter what I do.even if I leave only the content div which gets 100% of the width firefox puts me those scrollbars.
Any ideas ?
Thanks
-
Jun 11, 2004, 06:25 #2
- Join Date
- Jun 2004
- Location
- Finland
- Posts
- 703
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Well, I have to admit that I did not completely understand the problem, but I believe that overflow is what you're looking for.
overflow: visible|hidden|scroll|auto
http://www.w3.org/TR/CSS2/visufx.html#propdef-overflow
-
Jun 11, 2004, 15:44 #3
- Join Date
- Jan 2003
- Location
- Hampshire UK
- Posts
- 40,556
- Mentioned
- 183 Post(s)
- Tagged
- 6 Thread(s)
Hi,
I'm not sure of the question either but if you are getting scrollbars then the answer is simple - the element is too big.
Either you have added padding or borders to a 100% element or you have made an error somewhere else.
An example of your code would soon solve the problem though
Paul
Bookmarks