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

input element - absolute positioning - determing width with left and right

From: Shadow2531 <shadow2531@gmail.com>
Date: Thu, 31 Aug 2006 08:18:15 -0400
Message-ID: <6b9c91b20608310518l48064288i5195dac8b495ea44@mail.gmail.com>
To: www-style@w3.org

<input type="text" style="position: absolute; left: 0; right: 0;">

How should that be rendered?

Firefox uses left and right to determine the width of the input or
textarea. In Opera and IE, left and right have no effect on the width
of form elements.

Now, if it's a div, Opera will use left and right. It's just with form
elements AFAIK.

Received on Thursday, 31 August 2006 12:18:27 UTC

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