Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2008
    Location
    Bassett
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Put a scroll bar in a table

    i would like to put a scrollbar in a table so that the table doesnt get any
    bigger but the content inside will go ddown - therefore needing a scrollbar

    this is my page

    as you can see ive got multiple stylesheets and i would like to keep the colour consistant

    any help on the matter would be very much appreciated, i am currently using iframes and dont paticularly want to

    Chris

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,472
    Thanks
    8
    Thanked 1,085 Times in 1,076 Posts
    Don't use <table>s either ... use <div> sections w/CSS to control the overflow,
    which creates the vertical slider:

    <div style="width:300px; height:400px; overflow: auto;">
    Here is my area ...
    </div>

    There of course are many other things you can set (with regard to "how it looks").
    And you can use a separate CSS file so all pages use the same CSS stylesheet.

    Look for some CSS tutorials using Google.


  •  

    Posting Permissions

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