View Single Post
Old 09-06-2007, 01:20 PM   #1 (permalink)
CdnRebel
Inactive
 
Join Date: 09-06-07
Location: Toronto, Ontario Canada
Posts: 12
iTrader: 0 / 0%
Latest Blog:
None

CdnRebel is liked by many
using <div> tags instead of <table>, <tr>, <td>

Hi,

I am told it is better to use <div> tags than <table>, <tr>, <td>. Since I am creating a new website, I thought I should start with <div> tags. I used Adobe Photoshop 7 to convert my graphics to code, but it used <table>, <tr> and <td> tags. Although there are samples for changing most of the variables, I was unable to find samples where they dealt with the colspan and rowspan features. How would I convert the following?:

<TR>
<TD COLSPAN=3 ROWSPAN=2>
<IMG SRC="images/homePage_01.jpg" WIDTH=209 HEIGHT=149 ALT=""></TD>
<TD COLSPAN=12>
<IMG SRC="images/centre_Top.jpg" WIDTH=438 HEIGHT=92 ALT=""></TD>
<TD COLSPAN=3 ROWSPAN=2>
<IMG SRC="images/homePage_03.jpg" WIDTH=153 HEIGHT=149 ALT=""></TD>
</TR>

Thanks...
CdnRebel is offline   Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links