W3C home > Mailing lists > Public > www-style@w3.org > November 2012

Re: Any plans to add a method for suppressing white space between inline-block elements?

From: David Woolley <forums@david-woolley.me.uk>
Date: Sat, 24 Nov 2012 11:41:15 +0000
Message-ID: <50B0B25B.2060602@david-woolley.me.uk>
To: Behrang Saeedzadeh <behrangsa@gmail.com>
CC: www-style CSS <www-style@w3.org>
Behrang Saeedzadeh wrote:

> <div>
>    <div>foo</div><!--
> --><div>bar</div><!--
> --><div>baz</div>
> </div>
> I think we need a more elegant way for suppressing white space (or any 
> text) inside an element (and not its children) in CSS.
I would say that the HTML way was correct.  Assuming white space is 
permitted at that point (it is in HTML 4, but I'm not sufficiently 
familiar with HTML 5), it is real white space in the content, and real 
content should not be suppressed by styling, except temporarily.

Incidentally, although I've not double checked this, I think you can do 
it like this:


David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.
Received on Saturday, 24 November 2012 11:41:53 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:22 UTC