Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: Table Trouble

  1. #1
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    This is doing my head in, is it possible to create a table like this?...
    Attached Images Attached Images
    JR

  2.  

  3. #2
    Member
    Join Date
    Feb 2003
    Location
    London, Ontario
    Posts
    46
    Member #
    608
    Yes it's possible!


    Code:
    <table border="1" cellpadding="0" cellspacing="0" align="left" width="100%">
    <tr>
    <td  rowspan="2" width="10%">[Text Here]</td>
    <td colspan="2" width="60%">[text here]</td>
    <td width="30%">[Text Here]</td>
    
    </tr>
    <tr>
    
    <td width="30%">[Text Here]</td>
    <td colspan="2" width="60%">[text here]</td>
    
    </tr>
    </table>
    Someone else will probably come up with a better idea. I'm working on 8 hours sleep for the entire week

  4. #3
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    thanks, i will check it out
    JR

  5. #4
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    what i need to use though is size values instead of percentages, it messes up when i do this
    JR

  6. #5
    Member
    Join Date
    Feb 2003
    Location
    London, Ontario
    Posts
    46
    Member #
    608
    Code:
    <table border="1" cellpadding="0" cellspacing="0" align="left" width="600">
    <tr>
    <td  rowspan="2" width="60">[Text Here]</td>
    <td colspan="2" width="360">[text here]</td>
    <td width="180">[Text Here]</td>
    
    </tr>
    <tr>
    
    <td width="180">[Text Here]</td>
    <td colspan="2" width="360">[text here]</td>
    
    </tr>
    </table>
    Does this work? You'd have to change your values to however big you want your actual table tho. I'm also guessing at the dimensions you want. Just play with the numbers until you get what you want

  7. #6
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    didn't work, its the same problem i was having in the 1st place
    JR

  8. #7
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    which is this
    Attached Images Attached Images
    JR

  9. #8
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    i am going to try having the table as a size value and the cells as a percent equivalent to the size
    JR

  10. #9
    Member
    Join Date
    Feb 2003
    Location
    London, Ontario
    Posts
    46
    Member #
    608
    I swear it worked on my computer at school! Grrrr!

    Ok, Lucky for me I'm stubborn (i'm not sure how lucky you are tho )

    With the help of photoshop Icreated the actual table and then stole the coding from it. For it to work you need a tiny little file to use as the background image. Hopefully you want a solid background for this table. But here's the code:

    Code:
    <TABLE BORDER="1" CELLPADDING="0" CELLSPACING="0" WIDTH="600" HEIGHT="600">
    
    <TR>
    <TD ROWSPAN="2" COLSPAN="1" background="blank.gif" WIDTH="48" HEIGHT="600">text goes here</TD>
    <TD ROWSPAN="1" COLSPAN="1" background="blank.gif" WIDTH="166" HEIGHT="294">text goes here</TD>
    <TD ROWSPAN="1" COLSPAN="2" background="blank.gif" WIDTH="386" HEIGHT="294">text goes here</TD>
    </TR>
    
    <TR>
    <TD ROWSPAN="1" COLSPAN="2"  background="blank.gif" WIDTH="342" HEIGHT="306">
    	text goes here</TD>
    <TD ROWSPAN="1" COLSPAN="1"  background="blank.gif" WIDTH="210" HEIGHT="306">
    	text goes here</TD>
    </TR>
    
    <TR>
    <TD  background="blank.gif" WIDTH="48" HEIGHT="1">
    	</TD>
    <TD  background="blank.gif" WIDTH="166" HEIGHT="1">
    	</TD>
    <TD  background="blank.gif" WIDTH="176" HEIGHT="1">
    	</TD>
    <TD  background="blank.gif" WIDTH="210" HEIGHT="1">
    	</TD>
    </TR>
    </TABLE>
    the code in the last <tr> </tr> might look a little useless to you, but for some reason it won't work If you take it out. I've attached the little transparent 'blank.gif' for you to use.
    I'm hoping this is of some help, other then this I'm not sure what to do.

    BTW, If you want your background to be a different color it in theory should work using the bgcolor tag, but if not you can always colorize this transparent blank.gif image.
    Attached Images Attached Images

  11. #10
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    thanks
    JR


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:18 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com