[thelist] Styling in-line elements

Jack Timmons jorachim at gmail.com
Tue Mar 17 12:44:46 CDT 2009

On Tue, Mar 17, 2009 at 11:40 AM, ben morrison <morrison.ben at gmail.com>wrote:

> Personally, I have no issue with  this.
> I do have an issue with the reverse however.
> Styling Block as Inline, as this can lead to invalid markup.
> Ben

I can't think of a situation where anyone would do that, although the line
from styling in-line to invalid markup escapes me (mind you, I'm not
bothering thinking beyond our development environment right now: everyone
here knows better).

That's a good question to pose to my team, though...if "they" made display:
block to give inline elements block format, and that's ok, wouldn't the
converse be true?

I've not read the specs on "why", but in dictionary display: block and
display: inline are used to remove display: none from a previous style.

-Jack Timmons
Twitter: @codeacula

More information about the thelist mailing list