Inline-block + min / max-width behavior

I see in many browsers (FF, Opera, i.e.) that the elements that I give them the "built-in block" and "minimum / maximum width", their width is automatically set to "min-width", not max- width, as expected. Is this normal behavior?

Can I solve it using the css method (inline block element with max-width)? (I know about float / tables / js, there are some reasons I need to do so)

here is the code

+3
source share
1 answer

. min-width , min-width. , max-width , max-width ( ). , min-width, max-width , ​​ min-width.

+1

All Articles