i don't normally line up the attribute/value pairs by the = sign, but
i do like to break out longer tags (tags with many attributes) as
follows:

the major difference between this and what others have posted so far
is putting the first attribute (in this case, 'name') on its own line.

<cfargument
     name="firstName"
     type="string"
     required="true"
/>

On 10/8/07, Dawson, Michael <[EMAIL PROTECTED]> wrote:
> I like the method of lining up the attributes AND equal signs.  I
> beginning to switch to this format for long tag definitions.
>
> <cfargument name     = "sfirstName"
>             type     = "string"
>             required = "true"
>             hint     = "first name of person">
>
>

-- 
Charlie Griefer

================================================
"...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed."

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290578
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to