From 04a20fb402e45c4362c6e7804efb21d77f45e6a6 Mon Sep 17 00:00:00 2001 From: Erik van der Kolk Date: Sat, 18 Aug 2012 16:47:15 +0200 Subject: Use one line per tag in code snippet for One class, multiple tags --- docs/base-css.html | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'docs/base-css.html') diff --git a/docs/base-css.html b/docs/base-css.html index 584ce7d07..c1b13655d 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1550,13 +1550,9 @@ For example, <code>section</code> should be wrapped as inline.
 <a class="btn" href="">Link</a>
-<button class="btn" type="submit">
-  Button
-</button>
-<input class="btn" type="button"
-         value="Input">
-<input class="btn" type="submit"
-         value="Submit">
+<button class="btn" type="submit">Button</button>
+<input class="btn" type="button" value="Input">
+<input class="btn" type="submit" value="Submit">
 

As a best practice, try to match the element for you context to ensure matching cross-browser rendering. If you have an input, use an <input type="submit"> for your button.

-- cgit v1.2.3