On 19 April 2011 15:47, Tim Arnold <[email protected]> wrote:
> Does form markup OR plugging LWs book have anything to do with CSS?

Colossal amounts. Come back to us when you've built a form purely out
of CSS and no markup.

Keith,

The "HTML5 boilerplate" [1] collects some excellent forms CSS (very
helpfully commented to explain their purpose, too) together in its
base stylesheet [2].

A few extra tips off the top of my head:

• Don't get too ambitious with <legend> styling: the element has
inherent layout properties that you can't completely override with
CSS.
• Make sure you have highly visible :focus styles for inputs. I (and
many other users) find it much easier to use the keyboard for
navigating forms, and an indicator of the focussed element is
paramount.
• Certain advanced input types rely on a 'ghost DOM' for which only
the user agent (and proprietary CSS properties, in some cases) can
control the rendering. Ambitious design ideas regarding esoteric
fields often flounder.

[1] http://html5boilerplate.com/
[2] https://github.com/paulirish/html5-boilerplate/blob/master/css/style.css

Regards,
Barney Carroll

[email protected]
07594 506 381
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to