W3C home > Mailing lists > Public > www-style@w3.org > January 2009

Re: [selectors] [css3-content] The ::inside pseudo-element

From: Giovanni Campagna <scampa.giovanni@gmail.com>
Date: Tue, 20 Jan 2009 18:48:21 +0100
Message-ID: <65307430901200948t15be86b5t4fb5fef371e3d1cc@mail.gmail.com>
To: www-style@w3.org
(sorry, i clicked "send" by mistake...)

element {
   width: 300px;
   border: 1px solid black;
element::inside {
That is, putting some space between border (maybe filled by background or
border images) and content, that is clipped by overflow:scroll;
(I'm not sure about this use case, though)

- The other solution, already used by everyone, is simply to put <span>
inside <td>, but this is not adviceable for many reasons, such as that it
does not enforce separation from markup and presentation, and is not
applicable when used with arbitrary XML, instead of (X)HTML (it would
require to rebuild completely the application logic); moreover, only
table-cells can contain text-aling: <string>, and many useful properties are
ignored for inline blocks (forcing to use floats or inline-block)

Waiting for your opinions,

Received on Tuesday, 20 January 2009 17:48:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:23 UTC