2012-12-19 21:11, Gates, Jeff wrote:

Firebug is showing that when it's resized it's still applying the regular
style for the caption
[...]
@media only screen and (max-device-width: 480px) {

The rule tests for device width, not viewport width. For the latter, you would use max-width.

http://americanart.si.edu/index_newsplash3.cfm

There are 26 errors reported by the W3C Markup Validator and 65 errors reported by the W3C CSS Validator when testing against CSS3 and defining vendor extensions as warnings only. Although many of the CSS errors are caused by using IE-specific methods, some of them are relevant and may even relate to the problem at hand.

Yucca


______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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