W3C home > Mailing lists > Public > public-html@w3.org > July 2007

alignment of <input>-s and their pseudo-elements (was: Re: Improving alt (was handling fallback content for still images))

From: Dmitry Turin <html60@narod.ru>
Date: Wed, 11 Jul 2007 14:15:28 +0300
Message-ID: <776462066.20070711141528@narod.ru>
To: public-html@w3.org, www-style@w3.org

Good day, Robert.

RB> 3) the <legend>
RB> 4) @alt (on <img> anyway)
RB> I look at this list and it all seems like it has its place.

  I object.
  <legend> are always directly side-by-side to <input>,
for which <legend> is intended.
Let browser understand properties 'text-align' and 'vertical-align'
for pseudo-elements ::before and ::after
(and ::above and ::below in addition to them)
_separately_ from understanding these properties for <input>-s !
Thus <input>-s and their pseudo-elements will be in two parallel line
like inside table ... without <table> !

  Tail is to use value of @alt as content of pseudo-elements.

input {
  text-align: left;
}
input::before {
  text-align: left;
  content: attr(alt);
}

But this behaviour of browser should be standardized by CSS WG.


Dmitry Turin
HTML6     (6.1.0)  http://html60.chat.ru
SQL4      (4.1.0)  http://sql40.chat.ru
Computer2 (2.0.3)  http://computer20.chat.ru
Received on Wednesday, 11 July 2007 13:31:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:46 UTC