Lauri Raittila <la***@raittila.cjb.net> writes:
In article <3f***********************@freenews.iinet.net.au >, iinet How can i set in my css a min width for input elements, but leave the max
size dynamic?
for example:
input {min-width:40em;}
Won't work on IE. I don't think there is any way to make it work in IE.
I don't think this is best possible answer to your question, URL would
help.
According to the specification, min-width doesn't apply to
non-replaced inline elements such as <input>, so you'd also need to do
a display: block; or similar.
And browsers tend to accept a lot less styling on form input elements
than they do on others, so I'm not sure if this is reliably possible
at all.
Pity, because it could be quite useful for a user stylesheet. As
regards author stylesheet it seems better to set the width
appropriately through the HTML.
--
Chris