K
Kevin Scholl
I've never seen a width applied to a said:That is indeed interesting...
I have been working with DW in a production environment for about 4 years
and have not witnessed code (markup) being generated like that,
unless asked
to do so.
well - yes, that's the point isn't it.
Example. I asked DW to make a table, 100% in width, 3 rows and 2 columns.
Here is the markup it gave me...
<table width="100%" summary="test table">
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
Ahh yes - forgot the - apologies, above was from memory.
The non-breaking spaces it inserts are just placeholders, where other
objects/content would be placed. After content is added, it looks
like this
(no code cleaning was done)...
<table width="100%" summary="test table">
<tr>
<td>Lorem ipsum dolor si</td>
<td>Lorem ipsum dolor sit amet, consect</td>
</tr>
<tr>
<td>Lorem ipsum dolor sit am</td>
<td>Lorem ipsum dolor sit amet, consectetuer adipiscin</td>
</tr>
<tr>
<td>Lorem ipsum dolor sit </td>
<td>Lorem ipsum dolor sit amet, consectet</td>
</tr>
</table>
Looks pretty clean to me, nicely indented, etc...
markup looks just fine and dandy[1] - goes to show that power-tools
make stuff quicker, not necessarily better[2]. Not sure where you're
posting from, but in AWW we see a lot of empty tables when reviewing
DW/FP/whatever generated pages
Well sure, if the user tells it to create a table and then doesn't
populate it with anything. Seems to me the tool has done exactly what it
was told to do, yes?
I'm not trying to convince you to use the tool. Use whatever you are
comfortable, happy & productive with.![]()
Likewise - live long and prosper.
[1] usual caveats about correct use of table markup applies
[2] the number of people that can't drill a straight hole is truly
astonishing
Indeed.
--
*** Remove the DELETE from my address to reply ***
======================================================
Kevin Scholl http://www.ksscholl.com/
(e-mail address removed)