W3C home > Mailing lists > Public > www-style@w3.org > September 2010

Re: Suggestion > CSS > Pseudo element > Container

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 07 Sep 2010 15:10:16 -0700
Message-ID: <4C86B848.1020809@inkedblade.net>
To: Matthew Ayres <solar.granulation@gmail.com>
CC: www-style@w3.org
Pedro Amaral Couto wrote:
>
> "masthead-container" and "footer" aren't used for content or semantics.
> They are used as a hack to work around a functionality that CSS lacks. I
> found my self doing it. I wrote the HTML code, but when I'm writing CSS,
> I found that I could not make the layout I wanted without modifying the
> HTML code (I wanted to make a fixed dark header filling the whole
> width). That's when I sent the suggestion. What are the benefits of
> "before" and "after"? Those elements are very handy, but they're useless
> on those cases.

If you're using the containers to work around functionality that CSS
lacks, then we should be fixing things by creating that functionality,
not by making it easier to hack around.

~fantasai
Received on Tuesday, 7 September 2010 22:10:51 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:31 GMT