• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1521
  • Last Modified:

overflow:auto; Causes Horizontal Scroll in IE But Vertical Scroll in Firefox

Is there a way to have Horizontal Scroll in both browsers?
0
m_evergreen
Asked:
m_evergreen
  • 2
1 Solution
 
m_evergreenAuthor Commented:
I'm not sure which part of the discussion at the link provided applies to me.  Maybe I wasn't clear with my problem.  I'm using:

#container
{
      height:171px;
      width:183px;
      overflow: auto;
}

with

<div id="container">
                              <table><tr><td>
                          <a href="dl/72312d54_EarthLipstick1.zip"><img src="Items/EarthLipstick1.gif" title="Tan Lipstick" width="179" height="145" border="0"></a><a href="dl/22c298fa_BrownLipstick.zip"><img src="Items/BrownLipstick.gif" title="Brown Lipstick" width="179" height="145" border="0"></a><img src="Items/ComingSoon.gif" title="Coming Soon" width="179" height="145" border="0">
                            </td>
                              </tr></table>
    </div>

In Internet Explorer this produces a scrollbox which scrolls horizontally so that each image can be viewed and selected, which is what I want.  In Firefox it produces a vertical scrollbar so that each image must be viewed vertically going down.  This is not what I want.  Can I get Firefox to show the images horizontally like IE does?
0
 
seanpowellCommented:
Yes, just add a width to your table.

Sean
0
 
m_evergreenAuthor Commented:
Ah ha!  Thank you!
0

Featured Post

Technology Partners: 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!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now