"jesper.pedersen" wrote : One thing though - you don't have to indent attributes for an element with 2 spaces -- you can make them line up with the attributes from the previous line like
"jesper.pedersen" wrote : makes the tag more readable IMHO.
To further clarify the details, if a tag is too long for a line, do you then put each attribute on a separate line like the example you posted, or just break it into lines with variable numbers of attributes according to what fits on each line, indenting as you suggested in your previous post? The latter approach takes up less vertical space on the page, but the former is probably more readable IMHO.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193214#4193214
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193214