OZONE Asylum
Forums
Stupid Basic HTML
Table columns
This page's ID:
24263
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[quote]I don't really understand the difference between <td> and <tr> which is probably where the problem is. [/quote] Yes that's where the problem lies. You need to understand the difference. <tr> ... </tr> specifies a row in a table. <td> ... </td> speciifes an element (or column) in a row. You have created a table with four column tags and since you have not specified a row tag, the browser assumes that all the column elements are in a single row. The correct way to have coded this would be [code] <table border="6" cellpadding="0" cellspacing="0"> <tr> <td><font face="verdana">col 1 line 1</font></td> <td><font face="verdana">col 1 line 2</font></td> <td><font face="verdana">col 1 line 3</font></td> <td><font face="verdana">col 1 line 4</font></td> </tr> </table> [/code] To create a table with four rows and one column use [code] <table border="6" cellpadding="0" cellspacing="0"> <tr><td><font face="verdana">col 1 line 1</font></td></tr> <tr><td><font face="verdana">col 1 line 2</font></td></tr> <tr><td><font face="verdana">col 1 line 3</font></td></tr> <tr><td><font face="verdana">col 1 line 4</font></td></tr> </table> [/code] . -- not necessarily stoned... just beautiful. [url=http://www.hyperbole-software.com/] [img]http://www.hyperbole-software.com/ozone/hyperbole-88x33.gif[/img] [/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »