Closed Thread
Results 1 to 10 of 10
  1. #1

    Default Need table help??

    <table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
    <tr><td width="50%" valign="top">
    <h2 style="border-right: 0;">Board Stats</h2>

    <div class="box" width="100%" style="border-right: 0;">
    Total Users: <strong>1</strong><br />
    Total Topics: <strong>2</strong><br />
    Total Posts: <strong>2</strong><br />
    Newest Member: <strong><a href="profile.php?id=2">Mike</a>

    </div></td><td width="50%" valign="top">
    <h2 style="border-left: 0;">Users Online (
    1 Users and 1 Guests)</h2>
    <div class="box" style="border-left: 1px #838383 solid;;"><a href="profile.php?id=2">Mike</a>, </div>
    </td>
    </tr></table>

    How can I make the cells have the same height? plz help me urgently i have to finish it within 2 days....
    thanks

    play war games Girly Myspace Layouts
    Last edited by mkdocs; 06-21-2008 at 07:43 PM.

  2. WebmasterServe Adverts:
  3. #2

    Default

    thanks for that

  4. #3

    Default

    I always try to avoid the use of tables but if I were you I would try with adding this style property:
    Code:
    table tr{
    height:100px}

  5. #4
    Join Date
    Oct 2008
    Location
    UK
    Posts
    13
    Downloads
    0
    Uploads
    0

    Default

    do one thing usev dreamweaver as editor go to design part , design table of your choice and you will ultimately get its code written automatically in the code section


    Last edited by Zoli; 10-26-2008 at 03:17 PM.

  6. #5

    Default

    I never use tables. And I suggest you to use CSS instead. That is more flexible and easy in designing. If you master CSS you can easily design pages and position the elements where you wish

  7. #6
    Join Date
    Nov 2009
    Posts
    10
    Downloads
    0
    Uploads
    0

    Default

    <table width="100%" height="16%" cellpadding="0" cellspacing="0" border="0">
    <tr><td width="50%" valign="top">
    <h2 style="border-right: 0;">Board Stats</h2>

    <div class="box" width="100%" style="border-right: 0;">
    Total Users: <strong>1</strong><br />
    Total Topics: <strong>2</strong><br />
    Total Posts: <strong>2</strong><br />
    Newest Member: <strong><a href="profile.php?id=2">Mike</a>

    </div></td><td width="50%" valign="top">
    <h2 style="border-left: 0;">Users Online (
    1 Users and 1 Guests)</h2>
    <div class="box" style="border-left: 1px #838383 solid;;"><a href="profile.php?id=2">Mike</a>, </div>
    </td>
    </tr></table>

    see it i had set height as 16%

  8. #7
    webcs Guest

    Default

    If you want a specific height you can't use percentages. You need to use pixels. If you want to use percentages, then try restraining the table INSIDE of another table with set dimensions, that way the inner table can vary using your percentages but the outer table will not vary.

  9. #8

    Default

    CSS is the answer! but you can specify height in tr's & td's with height=80 .... etc,,,

  10. #9

    Default

    Use CSS instead for tables.....

  11. #10
    Join Date
    Jun 2011
    Posts
    11
    Downloads
    0
    Uploads
    0

    Default

    you can either use css or apply height at row level

Closed Thread

Similar Threads

  1. Tips: safety of cooking
    By tbbs08 in forum Buy, Sell or Trade
    Replies: 1
    Last Post: 09-24-2008, 11:29 AM
  2. Table or Layer
    By misi in forum Webmaster Marketplace
    Replies: 3
    Last Post: 01-21-2005, 02:12 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110