9. Styling HTML5 Media and Forms

Some HTML5 features not only provide new capabilities to allow you to create richer, better functionality more easily and natively, but they also bring with them new visual controls for your users to interact with. These include <video> and <audio>, as well as some new HTML5 form features. However, they present a host of styling problems: As with many older, less-nascent HTML features, the specs don’t dictate how they should be styled, so browsers have different default styling for such elements.

It’s a pain to style such elements across browsers consistently, especially if you also need to consider styling fallbacks that might be written in Flash. The information in this chapter will ease your pain by providing ...

Get Practical CSS3: Develop and Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.