SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    Non-Member
    Join Date
    Jun 2007
    Posts
    254
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Horizontal Scrolling Div

    Hi Boys/Girls,

    How do I make a Div scroll horizontally?

  2. #2
    SitePoint Wizard jimbo_dk's Avatar
    Join Date
    May 2005
    Location
    Singapore
    Posts
    1,261
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In your CSS, set the width, and then set "overflow: auto".
    Winners Respond. Losers React.
    Singapore Web Designer

  3. #3
    Non-Member
    Join Date
    Jun 2007
    Posts
    254
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Horizontal Scrolling Div

    Hi jimbo_dk,

    How do I scroll the div using Images?
    One image to scroll Left, and another to scroll Right

  4. #4
    SitePoint Wizard jimbo_dk's Avatar
    Join Date
    May 2005
    Location
    Singapore
    Posts
    1,261
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think I misunderstood your question Salchester. I assumed you wanted scrollbars to appear in your div. I didn't notice that you posted it in the javascript forums. My bad

    Take a look under the hood of this site to see how it works. You'll be able to figure it out.

    http://www.thehorizontalway.com/
    Winners Respond. Losers React.
    Singapore Web Designer


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •