Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Tables Within Tables?
Old 09-06-2002, 07:17 PM Tables Within Tables?
Mankiy's Avatar
Skilled Talker

Posts: 73
Location: The Light and The Dark, a Renegade at Heart
Trades: 0
is it possible to have tables within tables?
__________________
New Gaming Site Coming Soon!
Regular accounts are Free, Premium accounts are $5 to start, $2 every month after.....

Will be a Gaming Clan add-on (yeh, i have a gaming clan :) )
Mankiy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-06-2002, 07:35 PM
david's Avatar
King Spam Talker

Posts: 1,314
Location: Glasgow, UK
Trades: 0
Yes, you can do this. All you need to do is to place another <table> tag inside your cell e.g.

<tr><td>
<table>
etc.
</table>
</td>
</tr>

All you need to do is to remember to close all the tags in the right order.
__________________

Please login or register to view this content. Registration is FREE
- Everything a webmaster needs - for free

Please login or register to view this content. Registration is FREE
- Free web hosts reviewed and rated

Please login or register to view this content. Registration is FREE
- Impartial hosting directory - Add your host today for FREE
david is offline
Reply With Quote
View Public Profile
 
Old 09-06-2002, 07:46 PM
Mankiy's Avatar
Skilled Talker

Posts: 73
Location: The Light and The Dark, a Renegade at Heart
Trades: 0
k, thx!
__________________
New Gaming Site Coming Soon!
Regular accounts are Free, Premium accounts are $5 to start, $2 every month after.....

Will be a Gaming Clan add-on (yeh, i have a gaming clan :) )
Mankiy is offline
Reply With Quote
View Public Profile
 
Old 09-07-2002, 12:59 AM
conkermaniac's Avatar
The Nutty Moderator

Posts: 1,012
Location: China
Trades: 0
Hi Mankiy,

David's right; it's very easy. I'm just wondering, though; why are you interested in having nested tables?
__________________

Please login or register to view this content. Registration is FREE
- Affordable feature-packed remotely hosted message boards!
conkermaniac is offline
Reply With Quote
View Public Profile
 
Old 09-07-2002, 01:16 AM
HeidiLynn's Avatar
King Spam Talker

Posts: 1,122
Trades: 0
Yes it is very possible. I do it all the time.

Here is one example of a code I use so often I have set it up in notepad to copy and paste. I change the background colors/images and sometimes the width etc.

<CENTER>
<TABLE BORDER=2 CELLSPACING=0 CELLPADDING=5 WIDTH="90%" BGCOLOR="#_choose_color_" BACKGROUND="_choose_image_" BORDERCOLOR="_choose_color_">
<TR><TD>

<BR><BR>

<CENTER><TABLE BORDER=2 CELLSPACING=0 CELLPADDING=5 WIDTH="80%" BGCOLOR="#_choose_color_" BACKGROUND="_choose_image_" BORDERCOLOR="_choose_color_" >
<TR><TD>

<BR><BR>

Start your text here ...
Put whatever you want to have ... images, text, etc.
At the end of your page, finish it off with:

</TD></TR></TABLE></CENTER>
<BR><BR>

</TD></TR></TABLE></CENTER>

Also if I opt to use a bgcolor then I remove the background tag and vice versa.

Personally though I am learning to break away from using tables by using CSS instead which you can find more about in specific relation to table creation here:

Table look without a table
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
HeidiLynn is offline
Reply With Quote
View Public Profile
 
Old 09-07-2002, 01:18 AM
HeidiLynn's Avatar
King Spam Talker

Posts: 1,122
Trades: 0
Quote:
Originally posted by conkermaniac
Hi Mankiy,

David's right; it's very easy. I'm just wondering, though; why are you interested in having nested tables?
Why not? You can make for some interesting designs/layouts with nested tables for one thing.

For the other thing sometimes it just lines up better how you want it to if they are nested within an outer table.
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
HeidiLynn is offline
Reply With Quote
View Public Profile
 
Old 09-07-2002, 07:10 AM
fonzerelli_79's Avatar
Webmaster Talker

Latest Blog Post:
11 Free Twitter Clients
Posts: 731
Location: Sunny Scotland
Trades: 0
nearly all sites on the web are designed with nested tables

it helps alignment and is the basis for making great websites
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
fonzerelli_79 is offline
Reply With Quote
View Public Profile
 
Old 09-07-2002, 10:14 AM
ghettocars's Avatar
Defies a Status

Posts: 1,738
Name: Josh
Location: Miami, FL
Trades: 0
yea, ive used tables within tables before, but I actually prefer not to, now im working on this clan site which should be up soon...I think I made it with nested tables.

theres that smilie again
__________________

Please login or register to view this content. Registration is FREE
ghettocars is offline
Reply With Quote
View Public Profile
 
Old 09-07-2002, 01:48 PM
Mankiy's Avatar
Skilled Talker

Posts: 73
Location: The Light and The Dark, a Renegade at Heart
Trades: 0
k, thyx everyone for the help. Im gonna try nested tables with my next layout, thx!
__________________
New Gaming Site Coming Soon!
Regular accounts are Free, Premium accounts are $5 to start, $2 every month after.....

Will be a Gaming Clan add-on (yeh, i have a gaming clan :) )
Mankiy is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Tables Within Tables?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30380 seconds with 12 queries