Document length-fitting on <select> #25073
Labels
Content:CSS
Cascading Style Sheets docs
help wanted
If you know something about this topic, we would love your help!
MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/max-width
What specific section or headline is this issue about?
The Into and "Try it"
What information was incorrect, unhelpful, or incomplete?
Although true a lot of the time, its not technically true all the time. The exceptions is what makes debugging code so hard. It might be worth adding a note for when this is not true, like with select inputs,
width
overridesmax-width
.What did you expect to see?
Information to help explain why
max-width
is not working on a<select>
input.Do you have any supporting links, references, or citations?
https://stackoverflow.com/a/10795269/5506400
Do you have anything more you want to share?
Hope one day form controls will be more consistent with their API. Every form control has some weird quirks one has to work around.
MDN metadata
Page report details
en-us/web/css/max-width
The text was updated successfully, but these errors were encountered: