?
Solved

Alignment of DIV vertical scrollbar changed from Firefox 2 to Firefox 3

Posted on 2009-02-20
1
Medium Priority
?
1,147 Views
Last Modified: 2013-12-25
Hi All,

It appears that Firefox 3 has changed the way vertical scrollbars are displayed in relation to content when using overflow:auto. The below code and images should make the problem clear. The outer containing table is there to collapse the DIV with to the inner table width, which is dynamic width. The inner table could have any number of columns. Any clues how I can make this Firefox 3 scrollbar behave like IE and like it did in Firefox 2?

Thanks
<table cellpadding="0" cellspacing="0" border="0"><tr><td>
            <div id="gridDiv0" style="height:300px;overflow:auto;font-family:Arial; font-size:6pt;">
            <table cellpadding="0" cellspacing="0">
                <asp:Repeater ID="rptScheduleGrid0" runat="server" EnableViewState="false">
                ...

Open in new window

IEDiv.png
FireFoxDiv.png
0
Comment
Question by:danburyit
1 Comment
 
LVL 1

Accepted Solution

by:
danburyit earned 0 total points
ID: 23696749
OK, I got this figured out. I had to do a little browser sniffing and for FF3 I added a 17px right margin to the inner table (with the grid). It seems to be working very nicely.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Suggested Courses
Course of the Month16 days, 6 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question