Change 2 Column Site into 3

Discussion in 'CSS' started by tushardhoot1, Jun 15, 2007.

  1. #1
    Hey,

    I was wondering how I could change my 2 column games website into 3, because right now the search bar and everything are way to low for anyone to use them.

    Kool Games

    Thanks in advance,

    Tushar Dhoot
     
    tushardhoot1, Jun 15, 2007 IP
  2. krt

    krt Well-Known Member

    Messages:
    829
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    120
    #2
    Here is your basic document structure:
    <table width="740" cellspacing="0" cellpadding="0" border="0">
    <tbody>
    <tr>
    <td colspan="2"></td>
    </tr>
    <tr>
    <td width="150" valign="top"></td>
    <td width="590" valign="top"></td>
    </tr>
    <tr>
    </tr>
    </tbody>
    </table>
    Code (markup):
    All you need to do is change colspan="2" to colspan="3" and add another cell to the main table, i.e.: another <td width="150" valign="top"></td>

    Of course, you may need to reduce the size of the centre column down from 590 to make up for this or increase the width of the whole page.
     
    krt, Jun 15, 2007 IP
    tushardhoot1 likes this.
  3. tushardhoot1

    tushardhoot1 Active Member

    Messages:
    3,013
    Likes Received:
    96
    Best Answers:
    0
    Trophy Points:
    90
    #3
    Thanks a million!!!

    Rep added!

    BTW,

    How do I increase the size of the page? I've tried, but with no luck.
     
    tushardhoot1, Jun 15, 2007 IP
  4. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you don't mind me asking, why are you using tables for the layout? (No, I'm not a member of the "anti-table mafia"; I'm just curious as to why you're using them this way.)
     
    Dan Schulz, Jun 15, 2007 IP
  5. tushardhoot1

    tushardhoot1 Active Member

    Messages:
    3,013
    Likes Received:
    96
    Best Answers:
    0
    Trophy Points:
    90
    #5
    Idk, it came with a script.

    LoL.

    Anyways, I think i got it to work.
     
    tushardhoot1, Jun 18, 2007 IP