I use Homesite+ for printing.  I have the option of spaces instead of
tabs turned on (3 space = 1 tab).  I have a visible right margin that
is set at the cut off for word wrap.  I try to keep my code to the
left of this at all times so that when it prints, it will maintain its
formating.  When a string, such as a long url, will go over this
margin, I usually break it into smaller parts.

<cfscript>
u = "index.cfm?";
u = u & "var1=val1&";
u = u & "var2=val2&";
etc.
</cfscript>

<a href="#u#">link</a>

This may seem like a lot of extra work, but I don't mind.  It keeps my
code clean, readable, and in this case printable (in fact, that is why
I started breaking url's and such into smaller parts).

I also use hard breaks in my cf tags so that the parameters are all
under the tag name.

J

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:207699
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to