Overflow-x problems

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jesse

    Overflow-x problems

    Hi --

    I'm trying to make a horizontal-scrolling div that contains other divs. I
    can make a side-scrolling div containing images, but putting divs into the
    mix always forces the line to break, even with overflow-x set to "scroll".

    Easier to show than to explain; here's an example:
    Latest news coverage, email, free stock quotes, live scores and video are just the beginning. Discover more every day at Yahoo!


    Any help would be greatly appreciated!

    Thanks...
    --



  • Bart Van der Donck

    #2
    Re: Overflow-x problems

    Jesse wrote:
    I'm trying to make a horizontal-scrolling div that contains other divs. I
    can make a side-scrolling div containing images, but putting divs into the
    mix always forces the line to break, even with overflow-x set to "scroll".
    >
    Easier to show than to explain; here's an example:
    http://www.geocities.com/jessekeller/overflow.html
    Yes, it's a known issue with <div>. One solution is to replace them by
    <span>'s:

    <div class="sideScro ll">
    <span><img src="..."></span>
    <span><img src="..."></span>
    <span><img src="..."></span>
    </div>

    Hope this helps,

    --
    Bart

    Comment

    Working...