CSS Property:
max-width:

Result:

Change this DIV's max-width by clicking the radiobuttons on the left.

CSS Code:
div {
    max-width:none;
}
Click the property values above to see the result
W3Schools.com - Play it