Results 1 to 3 of 3

Thread: scroll, frame how to do this

  1. #1
    Join Date
    Apr 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default scroll, frame how to do this

    Hey...

    I am beginner and I'd like to create a scroll like this one in this website.

    http://www.emelbayram.com/index2.html

    I did put the pictures in a table within a div but then the scroll bar for the hall site how I can specify it just for the pictures??

    Thank you

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Try giving the div the following CSS rule:
    Code:
    overflow: scroll;
    If it doesn't work, you might have to give it a width of 100%.

    Good luck!

  3. #3
    Join Date
    Apr 2009
    Location
    Los Angeles
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The above advice should work. I would like to add that tables are outdated, and should not be used with divs. Everything you can do with a table layout can also be done using the CSS properties. For a beginner, you should check out float, margin, and padding properties. Typing in "CSS examples" in google will give you some good resources to get started.

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
  •