[style] keep form elements wide even if in a span

This commit is contained in:
Shish 2023-12-24 23:16:46 +00:00
parent 89dfd33290
commit ce962cb358

View file

@ -1,14 +1,15 @@
ARTICLE SELECT {width: 150px;}
INPUT, TEXTAREA {box-sizing: border-box;}
TD>INPUT[type="button"],
TD>INPUT[type="submit"],
TD>INPUT[type="text"],
TD>INPUT[type="password"],
TD>INPUT[type="email"],
TD>SELECT,
TD>TEXTAREA,
TD>BUTTON {width: 100%;}
TD>INPUT[type="button"], TD>SPAN>INPUT[type="button"],
TD>INPUT[type="submit"], TD>SPAN>INPUT[type="submit"],
TD>INPUT[type="text"], TD>SPAN>INPUT[type="text"],
TD>INPUT[type="password"], TD>SPAN>INPUT[type="password"],
TD>INPUT[type="email"], TD>SPAN>INPUT[type="email"],
TD>SELECT, TD>SPAN>SELECT,
TD>TEXTAREA, TD>SPAN>TEXTAREA,
TD>BUTTON, TD>SPAN>BUTTON {width: 100%;}
TABLE.form {width: 300px;}
TABLE.form TD, TABLE.form TH {vertical-align: middle;}