473,386 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Scrollbar for a table in Firefox

Hi,
I have to have only a vertical scroll bar within a table. But when I
specify "overflow: auto", it gives both vertical and horizontal scroll
bars. Browser used to test is Firefox. How to solve this problem? Please
let me know if more info is needed about the problem. It would be
helpful if I get the solution soon.

Thank you

*** Sent via Developersdex http://www.developersdex.com ***
Jul 23 '05 #1
2 1880

Should be CSS overflow-x: hidden;overflow-y: auto; However, overflow:
auto; should suffice so long your object/table fits within the
specified/allocated dimensions, you can set the overflow to hide, but
that'll just truncate the object/table. Give your box containing the
table a min-width, instead of a fixed width, so if the table sizes up on
the viewport, the box will resize to fit it while keeping the horizontal
scrolling off, once the box width fits in the viewport with no overflow,
overflow: auto; will accomodate.

Danny

On Fri, 08 Jul 2005 15:18:04 -0700, Ash Man <as***********@gmail.com>
wrote:
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Jul 23 '05 #2
Danny wrote:
Should be CSS overflow-x: hidden;overflow-y: auto;

<snip>

Strange advice given that CSS has no overflow-x and overflow-y
properties and that the assertion is made without a context.

Richard.
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: prakash_ntech | last post by:
Dear Friends The follwing code works well in IE . ------------------------------------------- <HTML> <body> <TABLE id="tblParent" borderColor="#ccc6b0" cellSpacing="0" height="100%"...
4
by: Rob T. | last post by:
I am using a div tag to make an element that contains some text. I have specified overflow: auto; in my stylesheet. If I use font-size/line-height to specify the font information I get a vertical...
5
by: Spondishy | last post by:
Hi, I am using the following in my stylesheet to center divs in firefox. html>body { font-size: 13px; } div.centerdiv {
1
by: Goffin | last post by:
Hey I have an asp.net datagrid width a scrollbar. This scrollbar is placed using a div-tag around the grid with a style property overflow:scrolling, a width an a height. This works very well in...
3
by: Seni Seven | last post by:
Extensive Google searching for more than a couple of hours has not provided me with a satisfactory answer to this question: How can I make scrollable TBODY elements in tables which: * create...
6
by: rajesh | last post by:
Is it possible to display the select box without scrollbar in my program there is a need for that . The code attached below contains 2 select box and four buttons and the button is used to...
2
by: harish | last post by:
Hi, When i use width:100% in firefox, Everytime when the site gets loaded it occupies full screen then the vertical scrollbar of firefox pushes the layout to the left causing a gerk. Anyone can...
14
by: Michael Weis | last post by:
Hello all, as a non-professional in these things, I searched for this topic but found no satisfying answer: I have to create a site with 3 frames. (Please no diskussion about the sense of...
8
by: honey99 | last post by:
Hi! i have a problem with textarea scrollbar in firefox.In FF it is taking horizantal scrollbar by default??but in IE vertical scrollbar is displaying correctly..I want vertical scrollbar in FF and...
2
by: honey99 | last post by:
Hi! can anybody tell me how to remove horizantal scrollbar for <textarea> in firefox,i think firefox takes horizantal scrollbar by default.....and i want to display vertical scrollbar for <textarea>...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.