Le 6 févr. 2014 à 17:10, Micky Hulse <[email protected]> a écrit :
>> audio { width: 200px; height: 40px; }
>> should give you a start, adjust to taste.
>
> Interesting! I'll play with that.
>
> Thing is, I'm getting pretty good sizes in/on most other devices. I'd
> hate to apply a height for the sake of iOS and have it make everything
> else look weird. OTOH, I should experiment to see if setting a fixed
> height does the trick for all.
According to the WebKitinspector, audio is ‘display:inline’ in the UA
stylesheet (but, as a replaced element, acts more like ‘inline-block’). You
could try setting it to ‘display: block’, or wrapping it in a block level
element and play with margin or padding. Lots of possibilities…
Philippe
--
Philippe Wittenbergh
http://l-c-n.com
______________________________________________________________________
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/