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

alignment of <input>-s and their pseudo-elements (was in public-html@w3.org)

From: Dmitry Turin <html6css4@gmail.com>
Date: Mon, 9 Jul 2007 13:32:16 +0300
Message-ID: <1395290001.20070709133216@narod.ru>
To: 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);
}


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 Thursday, 12 July 2007 05:56:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:51 GMT