Alex Rivera | Logout

how to use min-width, max-width and width 100%

Asked 2013-03-14T12:17:43.117
11

Anybody please help me describing a suitable example of min-width max-width and width 100% and why should I use this specially for?

Edit

what should I use for min-width that most computers resolution may match. what should I use for max-width that most computers resolution may match.

Edit I need better example as yahoo.com use

Edit
Report

1 Answer

1

min-width is used to fix the minimum width, after the given extent of the width value, div will start expanding automatically

max-width is used to give maximum width after that extent div will not get extends.

width:100% extends the div to the available space of the browser/parent element

answered 2013-03-14T12:22:14.047

Your Answer