Results 1 to 7 of 7

Thread: Scrolling table

  1. #1
    Slippery when wet
    Join Date
    Nov 2003
    Location
    Newcastle, England
    Posts
    759
    Thanks
    0
    Thanked
    0 times in 0 posts

    Scrolling table

    Hi guys, just busy trying to make a website here and ive come over a problem... what i want is the website to stay the same size, and the center table to have a scroll bar on it so you can scroll through all of the text, rather than the page resizing, cant this be done with html? Cheers guys!

    Craig

  2. #2
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    use a scrollable div or an iframe. divs are much better as they are W3C compliant e.g.

    Code:
    <div style="width: 400px; border: 1px #ff0000 solid; overflow: auto;">
    <table width="700" border="1">
      <tr>
        <td>blah</td>
        <td>blah</td>
        <td>blah</td>
      </tr>
      <tr>
        <td>blah</td>
        <td>blah</td>
        <td>blah</td>
      </tr>
      <tr>
        <td>blah</td>
        <td>blah</td>
        <td>blah</td>
      </tr>
    </table>
    </div>

  3. #3
    Slippery when wet
    Join Date
    Nov 2003
    Location
    Newcastle, England
    Posts
    759
    Thanks
    0
    Thanked
    0 times in 0 posts
    EDIT:

    Having a bit of trouble

    What i want to be able to do is have three tables beside eachother (or ontop of eachother if thats possible) the back one which is spread to 100% of the page to prive screen-wide background colour, one on the left which is for pictures, next one along for navigation, then the next one after that for the scrolling text! I can can draw a picture if my description isnt very clear (i kinda confused myself writing it!)

    EDIT #3: Picture of what its suppose to look like at http://www.tskcomputers.co.uk/webby.jpg

    Thanks,

    Craig
    Last edited by Craig; 05-07-2004 at 04:44 PM.

  4. #4
    Commander Keen
    Join Date
    Nov 2003
    Location
    217.27.240.214
    Posts
    624
    Thanks
    0
    Thanked
    0 times in 0 posts
    hmmm. Not to sure about that as a format. But I gave a quick stab at that layout.here

  5. #5
    Commander Keen
    Join Date
    Nov 2003
    Location
    217.27.240.214
    Posts
    624
    Thanks
    0
    Thanked
    0 times in 0 posts
    hmm. I just noticed two things.. a) this is my 300th post.. And b) the thing no longer makes the autoscroll bar.. I will take a look later. I am off to install Return to castle wolfenstein on my linux box ! Just to see.. just to see.

    Take it easy.

  6. #6
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    The table needs to be wider than the div to show the scrollbar

  7. #7
    Slippery when wet
    Join Date
    Nov 2003
    Location
    Newcastle, England
    Posts
    759
    Thanks
    0
    Thanked
    0 times in 0 posts
    Cheers for your help guys, going to give it another stab today

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 8
    Last Post: 21-05-2004, 09:58 PM
  2. Ideas on how to cover a table...
    By Lead_Head in forum General Discussion
    Replies: 15
    Last Post: 18-04-2004, 07:41 PM
  3. My New.... Coffee Table?!?
    By TeePee in forum Chassis and Mods
    Replies: 14
    Last Post: 06-03-2004, 12:02 AM
  4. Weird Weird, scrolling with mouse makes HD chip?
    By royce in forum PC Hardware and Components
    Replies: 14
    Last Post: 03-01-2004, 06:47 PM
  5. Not displaying sig pictures stretches table
    By Paul Adams in forum HEXUS Suggestions
    Replies: 0
    Last Post: 21-09-2003, 11:08 AM

Posting Permissions

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