frankpf / gridless-boilerplate

Gridless is an awesome HTML5 and CSS3 boilerplate for making responsive, cross-browser websites with beautiful typography
http://frankpf.github.com/gridless-boilerplate/
The Unlicense
840 stars 99 forks source link

Underscore on Line #246 #11

Closed longoria closed 13 years ago

longoria commented 13 years ago

Is there supposed to be an underscore prefixing the width style on line #246

img, object, embed, video {
    max-width: 100%; /* Consider this first: unstoppablerobotninja.com/entry/fluid-images/ */
    _width: 100%; /* If the image/video is smaller than the container, change 100% to an absolute value */
}
frankpf commented 13 years ago

Yes, it's supposed to be there! It's a CSS hack to target IE6.

I thought many people wouldn't understand this, so I commented explaining how these hacks work and what they do.

Thank you :)

longoria commented 13 years ago

Thanks for the clarification. It just was weird to see the image behaving differently in the demo on Safari after that update.