[drupal-devel] [feature] br tag before buttons in node.module

Chris Messina chris.messina at gmail.com
Sun Jan 16 22:37:31 UTC 2005


Definitely -1. 

BR tags should be used sparingly if at all. If anything, you should
encapsulate your buttons in a DIV with a class of form-submit-buttons
or something and as Steven said, add the rule .form-submit-buttons
{clear:left;}.

The biggest problem with using BRs is that, while it might solve the
problem on your site, it could easily introduce problems for other
sites. It's better to use a benign, stylable tag like a DIV with a
class so that other people can decide whether they want the previous
appearance or the one you've described.

Chris



More information about the drupal-devel mailing list