What's new? | Help | Directory | Sign in
Google
             
Search
for
Updated Sep 19, 2008 by pilgrim
Labels: about-css, is-css-property, from-w3c
MaxWidthCSSProperty  
The max-width property sets the maximum width of a box.

You are here: Home > CSS Reference > Properties > max-width

Usage

Values

Browser compatibility

Compatibility table legend

Test IE8 IE7 IE6 FF3 FF2 Saf3 Op9 Chrome
style.maxWidth reflects <div style='max-width: 0'> Y Y N Y Y N Y N
style.maxWidth reflects <div style='max-width: 1cm'> Y Y N N N N Y N
style.maxWidth reflects <div style='max-width: 1em'> Y Y N N N N Y N
style.maxWidth reflects <div style='max-width: 1ex'> Y Y N N N N Y N
style.maxWidth reflects <div style='max-width: 1in'> Y Y N N N N Y N
style.maxWidth reflects <div style='max-width: 1mm'> Y Y N N N N Y N
style.maxWidth reflects <div style='max-width: 1pc'> Y Y N N N N Y N
style.maxWidth reflects <div style='max-width: 1pt'> Y Y N N N N Y N
style.maxWidth reflects <div style='max-width: 1px'> Y Y N Y Y N Y N
style.maxWidth reflects <div style='max-width: 42%'> Y Y N N N N Y N
style.maxWidth reflects <div style='max-width: none'> Y Y N Y Y Y Y Y

Further reading


Sign in to add a comment