|
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...
|