Results 1 to 2 of 2

Thread: Scrollbar question...

  1. #1
    Join Date
    Oct 2007
    Posts
    4

    Scrollbar question...

    Okay, I can't find the correct code to make a table with a vertical scrollbar. I need it for this page [and others]:

    http://helpmemeetjoejonas.com/index/?page_id=6/

    I have WordPress installed onto my website. I've tried many codes already but I haven't been able to find the right one. Can someone please help?

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    Tables expand in height automatically if you don't state a height, so you don't get a scrollbar, the page just gets longer.

    If you want a vertical scrollbar, it's best to use div boxes with a height and overflow: scroll, using CSS:-

    http://www.wickham43.supanet.com/tut...llingdivs.html

    You can still use a table for the general layout. Find out which cell is the one you want to scroll, give it a height and put a div inside the cell with the same height and overflow: scroll.

    The div will sit inside the table cell and scroll.
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Similar Threads

  1. A question of content
    By revrandysausage in forum General Questions
    Replies: 0
    Last Post: 26 Sep 2005, 02:25 PM

Posting Permissions

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