WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > CSS > [SOLVED] Using maximum-width question

Reply
  Thread Tools Display Modes
Old 13th June 12, 09:56 PM   #1
PVM3
WLC Lover
 
Join Date: Dec 2008
Posts: 182
Default Using maximum-width question

Hi:

If I want a wrapper div in a fluid design to be fluid up to a point, do I set a width AND a maximum width? For Example:

Code:
#wrapper {
width: 95%;
maximum-width: 1200px;
}
It should stop widening if the browser window exceeds 1200px, right?

Thanks!
PVM3 is offline   Reply With Quote
Old 13th June 12, 11:26 PM   #2
meesa
WLC Mod
 
meesa's Avatar
 
Join Date: Jul 2009
Location: Milky Way Galaxy
Posts: 3,138
Default Re: Using maximum-width question

Correct. Max-widths are used for situations just like that.
__________________
Praise be to the Lord God for the ability to learn, the capability to analyze, and the time to help users on this forum.
meesa is offline   Reply With Quote
Old 13th June 12, 11:51 PM   #3
PVM3
WLC Lover
 
Join Date: Dec 2008
Posts: 182
Default Re: Using maximum-width question

Thanks Meesa!
PVM3 is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:58 PM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyright© 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.