csswizardry / vanilla

My personal starting point for new builds.
184 stars 25 forks source link

Leaving IMG tags as inline keeps the space on the bottom for descenders. #1

Closed MrRio closed 13 years ago

MrRio commented 13 years ago

Leaving IMG tags as inline keeps the space on the bottom for descenders.

csswizardry commented 13 years ago

Cheers for this bud, but a blanket style like this (something as layout-changing as display:block;) could prove a little unpredictable. It's a little inexplicit and and could require overriding later on. It's akin to the ul,ol{ list-style:none } reset; a little too much of a blanket that becomes a pain if/when it needs undoing…

Most images that aren't inside inline elements will be treated with floats which carries implied block anyway, which will achieve just this but only in the right circumstances…

MrRio commented 13 years ago

Yeah good point.