O'Reilly logo

Practical CSS3: Develop and Design by Chris Mills

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required