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

Re: Two CSS challenges

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Tue, 28 Dec 2010 08:50:42 +0100
Message-ID: <4D1996D2.1090503@disruptive-innovations.com>
To: www-style@gtalbot.org
CC: Andrew Fedoniouk <news@terrainformatica.com>, Andrew Fedoniouk <andrew.fedoniouk@live.com>, W3C style mailing list <www-style@w3.org>
Le 27/12/10 20:20, "Gérard Talbot" a écrit :

> Daniel,
>
> vertical-align: -1px;
> would achieve that vertical alignment offset goal without introducing a
> new property like vertical-align-offset.
>
> Demos:
>
> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/button-like-span-activated-moves-left-v3.html
>
> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/button-like-span-activated-moves-left-v3.1.html
>
> {
> <length>
>      Raise (positive value) or lower (negative value) the box by this
> distance. The value '0cm' means the same as 'baseline'.
> }
> http://www.w3.org/TR/CSS21/visudet.html#propdef-vertical-align

D'oh :-) Wonderful, Andrew has a solution to his problem now.
Thanks Gérard !

> Meilleurs voeux pour le temps des fêtes, Gérard

Mais pareillement !!!

</Daniel>
Received on Tuesday, 28 December 2010 07:51:12 GMT

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