View Full Version : Another HTML Question
Harrie
October 29th, 2000, 02:31 PM
If I wanted to have two more tables exactly like the one I made, only going across the page on the same level with the first one, could I do it? I have never figured out how to put things on the same "level" (poor choice of words). I know about the align tag, but that doesn't seem to do it. Just wondering. Now that I've started, I'm thinking up loads of stuff I want to insert!
Thanks. http://angelfire.com/la2/mtfun/index.html
Buzz
October 29th, 2000, 03:28 PM
Hi Harrie,
The best way tpo do that is with columns within one table...
Tables are made up of both rows and columns. All you have to do is add additional tags to the table. Check this code.
<TABLE WIDTH="100%" ROWS="1" COLUMNS="3" CELLPADDING="0" CELLSPACING="0" BORDER="0" ALIGN="center">
<TR>
<TD WIDTH="33%">
Your first set of stuff here
</TD>
<TD WIDTH="33%">
Second set of stuff here
</TD>
<TD WIDTH="33%">
Third Set of stuff here
</TD>
</TR>
</TABLE>
The above code will give you a table with 3 equal columns in it. You can set up as many columns as you want by using the same method. The columns don't have to be equal either. You can set their width to whatever you want. You can also do the same thing with ROWS and just use HEIGHT instead of WIDTH.
<TABLE WIDTH="100%" HEIGHT="100% ROWS="3" CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>
<TD HEIGHT="33%">
First set of stuff.
</TD>
</TR>
<TR>
<TD HEIGHT="33%">
Second set of stuff
</TD>
</TR>
<TR>
<TD HEIGHT="33%">
Third set of stuff
</TD>
</TR>
</TABLE>
Note the extra <TR> tag top add rows instead of columns. To add columns all you need do is add aditional <TD> tags but with rows you need to add the <TR> tag as well as the <TD> tags.
Hope this helps.
------------------
<A HREF="http://www.creativescott.com" TARGET=_blank><IMG SRC="http://creativescott.com/stored/cubeicon.gif" border=0></A>
<A HREF="http://www.creativescott.com" TARGET=_blank><FONT COLOR="#800000"><FONT size="2">www.creativescott.com</FONT s></FONT c></A>
Harrie
October 29th, 2000, 04:06 PM
Hope this helps??!! Hey Buzz, that is fantastic assistance!
Thank you very, very much. I can't wait to get off work this afternoon and start fooling with it. I'm going to make this page have a cleaner, better look for sure! http://www.cybertechhelp.com/ubb/smile.gif