Home › Forums › Other › Why don't more sites use max-width: 100% wrapper? › Reply To: Why don't more sites use max-width: 100% wrapper?
November 18, 2013 at 2:12 pm
#156430
TheDoc
Member
max-width: 100%;
doesn’t make any sense. A block element, by default, is going to have a width of 100% so setting a max-width of the same wouldn’t actually do anything.
What you generally find is something like this:
.element {
width: 100%; /* or not here at all, since block elements have this by default */
max-width: 1400px; /* or some other value that the design looks best at */
}