Of course, what you're doing isn't really improper nesting since the CF
server ignores the HTML tags and the CFML tags disappear before the HTML is
parsed. But to help the human eye, I personally generally try to avoid
"improper" nesting of tags even HTML and CFML tags. It looks like DW is
being tripped up by this, which is fairly surprising.
Matt.
-----Original Message-----
From: Angel Stewart [mailto:[EMAIL PROTECTED]
Sent: Friday, 3 October 2003 11:26 p.m.
To: CF-Talk
Subject: RE: Errors in table Design view of Dreamweaver MX 2004.
Correct.
REmoving those CFOUTPUT tags has the tables displaying just fine in
Dreamweaver MX 2004.
Once I put the tags back in, it's messed up again.
Is there anything I'm missing here? I use this same code in several
other sites, wrapped with the <CFOUTPUT> tags, and I've never noticed
this before.
Here is the specific block of code which produces odd results:
<table WIDTH="75%" BORDER="0" ALIGN="CENTER" CELLPADDING="1"
CELLSPACING="1">
<caption>
Annihilators Articles Section
</caption>
<tr>
<th SCOPE="col"><div ALIGN="CENTER">ARTICLE DATE </div></th>
<th SCOPE="col"><div ALIGN="CENTER">ARTICLE TITLE
</div></th>
<th SCOPE="col"><div ALIGN="CENTER">AUTHOR</div></th>
</tr>
<cfoutput><tr
> '" BGCOLOR= "ffffff"
> <td>01/01/2000</td>
<td>Kobra Maneuver Explanation With SU27 Flanker and Mig 29M
Fighters</td>
<td>Angel Stewart </td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>
Is there some rule for doing this that I'm breaking? If I put the
CFOUTPUT tags inside the <TR> and only around the OnClick attribute, the
code displays correctly as well.
Why does it render in the wysiwyg design view properly with those
CFOUTPUTs around it?
Because of course all of this is going to be wrapped in <CFOUTPUT
query=""> tags eventually.
-Gel
-----Original Message-----
From: Matthew Walker [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 9:17 PM
To: CF-Talk
Subject: RE: Errors in table Design view of Dreamweaver MX 2004.
I think it's the cfoutputs wrapped around the tr:
<cfoutput><tr
> '" BGCOLOR= "000000" > > Try replacing that with a plain tr (as an experiment) and it looks OK.
Matt.
_____
[Todays
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

