News for hackers. Stuff that matters.
Re:Ultra minimal CSS grid utility by JoelSutherland on Thursday June 30, 2011 @04:15PM (#2715568)
IE6 has a double-margin bug on floated elements which is fixed by display: inline;

http://www.positioniseverything.net/explorer/doubled-margin....

CSS defines style, HTML defines the semantics. The semantics of a div or an h1 don't change if you declare them inline in your CSS. So there is nothing wrong putting inline elements (styled as block) inside block elements.

HTML5 blurs this further as you can now wrap pretty much anything with <a>.

There are no comments on this comment yet.