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 3 of 3
  1. #1
    Regular Coder MrEnder's Avatar
    Join Date
    Jul 2008
    Location
    Canada Ontario
    Posts
    258
    Thanks
    18
    Thanked 4 Times in 4 Posts

    Table Sizing Issue

    Okay I have a table with 4 rows
    The bottom 3 rows need to be narrower then the top row
    How do I do this in CSS?

    <table id="mainTable">
    <tr>
    <td id="header1">
    <img id="banner" src="images/banner.png" alt="Banner"/>
    </td>
    </tr>
    <tr>
    <td id="header2">

    <a class="headerButtons" href="index.html">Home</a>

    </td>
    </tr>
    <tr>
    <td id="body1">
    2
    </td>
    </tr>
    <tr>
    <td id="footer1">
    3
    </td>
    </tr>
    </table>
    Continually Learning

  • #2
    New Coder
    Join Date
    Apr 2012
    Location
    United Kingdom
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by MrEnder View Post
    Okay I have a table with 4 rows
    The bottom 3 rows need to be narrower then the top row
    How do I do this in CSS?

    <table id="mainTable">
    <tr>
    <td id="header1">
    <img id="banner" src="images/banner.png" alt="Banner"/>
    </td>
    </tr>
    <tr>
    <td id="header2">

    <a class="headerButtons" href="index.html">Home</a>

    </td>
    </tr>
    <tr>
    <td id="body1">
    2
    </td>
    </tr>
    <tr>
    <td id="footer1">
    3
    </td>
    </tr>
    </table>
    dont use tables! lol

  • #3
    Regular Coder MrEnder's Avatar
    Join Date
    Jul 2008
    Location
    Canada Ontario
    Posts
    258
    Thanks
    18
    Thanked 4 Times in 4 Posts
    If I dont use tables then what do I use 0.0
    oh and what I needed what colspan
    but I have run into a new issue
    Continually Learning


  •  

    Posting Permissions

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