|
| www.kdwebpagedesign.com |
|
BASIC HTML ::
Welcome
Introduction to HTML What is an URL? Browser Safe Fonts Photo Size and Compression Formatting Your Text Paragraphs, Linebreaks, Rules The Marquee Tag Adding Images Adding Text and Image Links Making Lists Tables: Basics Tables: Backgrounds and Color Tables: Colspan and Rowspan Tables: Practical Samples BASIC CSS ::
Introduction to CSS
Adding Backgrounds and Color The <div> and <span> Tags Formatting Your Text/CSS Making Lists/CSS Image Borders/CSS Hyperlinks/CSS Tables/CSS Fun with CSS USER Tools ::
Custom Auction Listing Creator: 1
Custom Auction Listing Creator: 2 Choosing Your Colors Mix-and-Match Backgrounds JavaScript Tricks ::
Other Information ::
eBay Related Questions
Customizing Your eBay Store Hosting Your Own Photos on eBay Using Irfanview to Crop Photos What Does That Term Mean? Donations ::
Do you find our Tutorials helpful? Are the free Auction Templates helping your sales? Donations of any amount are appreciated to help keep this site up and running!
|
![]() |
Tables: Colspan and RowspanThe easiest way to lay out a table spanning columns and rows is to first make a table with as many columns and rows as you need. Sometimes it helps to sketch this out on paper. Add the required rowspan="x" and/or colspan="x" to the <td> tag you want to span, and erase the cells you want to eliminate, including <td> and </td>. Always turn on borders when making complex tables. You can turn them off when you have your cells setup. Begin by creating your table.
<table align="center" width="400" border="1" cellspacing="3" cellpadding="3"> If you want the top row to be one cell, add colspan="3" to the first <td> tag and erase the tags for the rest of the cells in the first row.
<table align="center" width="400" border="1" cellspacing="3" cellpadding="3"> If you would rather have cells one, four and seven to be all one column, add rowspan="3" to the first <td> tag. Delete <td>four</td> and <td>seven</td>.
<table align="center" width="400" border="1" cellspacing="3" cellpadding="3"> You can also span columns and rows at the same time. We will start with a table with four columns and four rows.
<table align="center" width="400" border="1" cellspacing="3" cellpadding="3">
<table align="center" width="400" border="1" cellspacing="3" cellpadding="3">
<table align="center" width="400" border="1" cellspacing="3" cellpadding="3">
<table align="center" width="400" border="1" cellspacing="3" cellpadding="3"> |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||