Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Quick ?... Can i put a scroll bar within a table?

Options
  • 23-01-2007 11:02pm
    #1
    Registered Users Posts: 499 ✭✭


    I want the text in my table not to go down the page for ages because i have a nav bar at the bottom of it. Is it possible to have a scroll bar within and can i customise it.. or can this just be done with flash?


    At the moment my site looks like

    /
    \ < -- menu
    | |
    | text | < scroll bar??
    | |
    \_____/ <-- nav bar


    I dont want this...

    /
    \
    | |
    | text |
    | |
    | |
    | |
    | text |
    \_____/


Comments

  • Closed Accounts Posts: 17,208 ✭✭✭✭aidan_walsh


    Place the table inside an IFRAME.

    If you were using XHTML and CSS you would be able to put the table inside a DIV or SPAN element and set the CSS overflow property to scroll.


  • Closed Accounts Posts: 7,145 ✭✭✭DonkeyStyle \o/


    Mmm yeah, overflow: scroll; then overflow-x: hidden; if you want to kill the hideous horizontal scrollbar. ;)


  • Registered Users Posts: 499 ✭✭Flynn


    ok tanx i'm just checking that out now... forgive all the questions but i'm only on the net for a short time... Can i change the appearance of the scroll bar to fit in with my page.. CSS maybe?


  • Registered Users Posts: 499 ✭✭Flynn


    I found a good example here..

    http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_iframe

    but it doesnt tell me alot about utilising it..

    Basically i have a fireworks menu on top of my page in the center (maybe 2/3rd's of the page long) i have the a nav bar below the exact width and in between the 2 i have a table with the content also the same width ...It all blends in together quite smoothly... can i do this with an iFrame?

    With the iFrame i will have to point it to another URL outside of the page ya? So will there be a problem building that page to the same dimensions as it's gonna get squahed aswell? If u get what i'm saying.. anyone!?


Advertisement