Pop Generator Myspace Design Myspace Design Pimp Flash Online Banners Bling Comments Custom Code
Site Search
 

Making Table in HTML how to make HTML tables

Making Tables
Table attribute are set in mostly the same way as other attribute. You can set them pixels or as a percentage
Don’t forget to properly calculate your rows and colums with colspan and rowspan
< table></table> Makes a table
• <table border=?> Border around table cells
• <table cellspacing=?> Space between table cells
• <table cellpadding=?> Space between a cell's border and its contents
• <table width=?> width of table
< tr></tr> For each row in a table
• <tr align=?><tr valign=?> Alignment of cells
< td></td> Makes a individual cell in a row
• <td align=?><td valign=?> Alignment of cells
• <td colspan=?><td rowspan=?> For spanning more than one cell size
Example: <table width="100" border="1" cellspacing="3" cellpadding="3">
< tr> <td>1</td><td>2</td><td>3</td></tr>
< tr> <td rowspan="2">4</td> <td colspan="2">5</td></tr>
< tr> <td>6</td><td>7</td></tr>
< /table>



COPYRIGHT (C) layoutcomments.com All Rights Reserved. layoutcomments.com is not affiliated nor associated with MySpace.com. MySpace is a Registered Trademark of News Corp. We are not associated with MySpace.com or News Corp. in any way, shape, or form. All images are provided by users we respect the rights of ALL Copyright holders and welcome any correspondence, any images that are in violation of copyright, offensive or distasteful will be removed. Please contact us regarding these issues.



eXTReMe Tracker