Dreamweaver
#1
Dreamweaver
Hi
In Macromedia Dreamweaver MX, if I want to comment a line of code out, what do I use?
ie, say I just want to put some text in that explains something, for anybody who looks at the code, but want it to be ignored by DW.
Thanks for any help in advance.
Buck
In Macromedia Dreamweaver MX, if I want to comment a line of code out, what do I use?
ie, say I just want to put some text in that explains something, for anybody who looks at the code, but want it to be ignored by DW.
Thanks for any help in advance.
Buck
#4
Hello
It doesn't matter where. Well, it isn't good to do it in the middle of a tag as sometimes things get confusing. So you would normally have comments on a seperate line.
Steve.
It doesn't matter where. Well, it isn't good to do it in the middle of a tag as sometimes things get confusing. So you would normally have comments on a seperate line.
Steve.
#5
I use DW4, so perhaps a little behind the times here! The simplest solution would be to use the drop-down menus. e.g. (in DW4) Insert \ Invisivble Tags \ Comment. That way the software should account for whatever language you're coding in (MX does PHP and ASP, doesn't it?).
#6
This is all pretty new to me!
I have a page of code on view, some text I can edit directly, this text appears black on screen. Some of the code, appears in grey and I want to comment some of this code out, so that its ignored.
This is the code that is in grey and i want to comment out.
<tr>
<td><img src="/images/banners/<%=FindRandomBanner()%>" width="468" height="60"></td>
</tr>
Any ideas?
Thanks
Buck
I have a page of code on view, some text I can edit directly, this text appears black on screen. Some of the code, appears in grey and I want to comment some of this code out, so that its ignored.
This is the code that is in grey and i want to comment out.
<tr>
<td><img src="/images/banners/<%=FindRandomBanner()%>" width="468" height="60"></td>
</tr>
Any ideas?
Thanks
Buck
#7
If it's just html then add the following tags around the code you want to comment-out...
<!-- <tr>
<td><img src="/images/banners/<%=FindRandomBanner()%>" width="468" height="60"></td>
</tr> -->
<!-- <tr>
<td><img src="/images/banners/<%=FindRandomBanner()%>" width="468" height="60"></td>
</tr> -->
Trending Topics
Thread
Thread Starter
Forum
Replies
Last Post