Articles tagged with ‘HTML’


29 November, 2009 / Development, Ink

Styling Input and Anchor tags as action buttons with cross-platform support

Attempting to style inline objects consistently across multiple browsers and platforms is difficult enough with unpredictable standards support — trying to maintain that exact style across form input elements as well has been near fantasy until recently. Thankfully, with the combined knowledge of the web development community and rapid adoption of reworked web standards by modern browsers, solutions are available.

For a recent project I had the task of applying one consistent button style to form inputs, anchor tags, and a handful of paragraph tags — with varying widths and background colors. Taking a cue from the brilliant work already posted on the Filament Group (which is derivative of the ALA sliding doors method and the work of Kevin Hale at Particletree), I developed a class that isĀ applicable across a variety of elements. The examples given were generally applied to the button element; my project called for standard inputs with type ‘submit’. The class scope is left open to allow for easier application to non-form elements. A few instances:

<a href="#" class="input-btn-link"><span>Add to Favorites</span></a>
<a href="#" class="input-btn-link small"><span>Add to Favorites</span></a>
<input class="input-btn" type="submit" value="Add to Favorites" />
<input class="input-btn small" type="submit" value="Add to Favorites" />
<input class="input-btn medium" type="submit" value="Add to Favorites" />
<input class="input-btn large" type="submit" value="Add to Favorites" />
<p class="input-btn">Add to Favorites/p>
</p>

Continue Reading »


5 September, 2009 / Ink, Notes

HTML5 in the News

HTML5 this week (mostly for my own reference)

ALA: Get Ready for HTML 5

Get Ready for HTML 5, A List Apart

HTML Redefines Footer, Jeffrey Zeldman

Nine into Five, Eric Meyer

HTML5 Super Friends

HTML Super Friends, Technical Details

HTML5 Tracking (Footer)

HTML5 for Smarties, Jeffrey Zeldman

Regarding HTML5, SimpleBits

HTML5 Drag and Drop in Firefox 3.5, 0xDECAFBAD

HTML5 Drag and Drop, alert debugging