Forum Moderators: not2easy

Message Too Old, No Replies

aloha! minimum & maximum width for content

width variable based on screen size, but with a min size too?

         

wanderlusty

6:50 pm on Dec 28, 2003 (gmt 0)

10+ Year Member



Hi, this is my first post here. I am a web designer who is getting back into the game after a couple of years off. It seems like in the time Iīve been gone CSS has become a lot more viable. So Iīm currently trying to learn the darn thing :P

Alright on to the point of this post... is there a way to set a minimum AND maximum width for a content box? Basically I want to create a design that will look good on both a 640 pixel wide resolution and a 1200+ wide pixel. Ideally it would be full screen on the 640 pixel resolution and get bigger as the res increased, but never get bigger than, say, 800 pixels (even that might be too wide for easy readability, but anything smaller looks pretty silly on a high resolution.) It doesnīt seem like this would be possible, so I may have to resort to 10% margins or what not, but I thought it couldnīt hurt to ask. Thanks guys!

TGecho

3:37 pm on Dec 29, 2003 (gmt 0)

10+ Year Member



Well, there are the min-width and max-width properties (as well as min/max-height). However, IE doesn't support them. There's a solution based on IE's proprietary expressions. A search of this site or the web in general should get you something.

DrDoc

1:30 am on Dec 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World, wanderlusty!