David Hucklesby wrote:

You are on the right track when you talk about a container.

There's another alternative that lets you retain the white-space in the
HTML, which is to use a font-size of zero on some container, and restore
the
font-size on the paragraphs with a value other than EMs or percents.
Keywords, REMs, or pixels will work.

Suppose you wrap the "floating" DIVs in a DIV.container element. (Yes, very
imaginative, I know:) Here I use the keyword "medium". YMMV -

.container { font-size: 0; }
.container p { font-size: medium; }

It definitely has possibilities; now if only there were a property (say)
"transparent-to" that affected interitane : if could, if
"transparent-to" were appropriate specified, write :

        .container {transparent-to: font-size; font-size: 0}

and this would then allow inner elements to inherit their
font size directly from the element just outside the container
element.

Philip Taylor
--
MIL-05991/237/2012-B : Any loss of data or other computer malfunction resulting directly or indirectly from the use of Linux will be regarded as a self-inflicted injury and treated accordingly. Users of Mac OS/X will be assumed to be insane. You have been warned ...
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to