W3C home > Mailing lists > Public > www-style@w3.org > August 2007

GCPM "float-offset" and centering

From: Alex Mogilevsky <alexmog@exchange.microsoft.com>
Date: Sat, 25 Aug 2007 17:28:12 -0700
To: Håkon Wium Lie <howcome@opera.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <04F36FB4ED0F85459AA447F72711526FF6EDC51A3C@DF-GRTDANE-MSG.exchange.corp.microsoft.com>
Although I was resisting "float-offset" definition initially, I have to admit it is brilliant. It handles all cases of facing pages and writing directions in the most minimal way.

One statement in the definition of float-offset I disagree with so far (or perhaps I don't quite understand its meaning):

"If the 'gr' unit or percentage unit is used, it means that the middle of the float should be aligned with the specified grid line (or portion thereof)."

I think this mixes two different concepts (positioning and centering), and even in the use case table (http://www.w3.org/Style/Group/css3-src/css3-gcpm/uc.html) "gr" usually just means position, only in case #30 it means centering.

Centering a positioned element is a great feature but maybe it should be a separate property? What do you think?
Received on Sunday, 26 August 2007 00:28:24 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:30 UTC