Forum Moderators: not2easy

Message Too Old, No Replies

css based layout that only shrinks to a certain point.

         

Phantom

4:09 am on Jan 2, 2008 (gmt 0)

10+ Year Member



I want to make a website with a css based layout. I want it to be able to be stretched as much as you want, and not stop growing like it would if you put the whole thing in <div style="width: 760px"> tags. However, I don't want it to be possible to make the page insanely skinny, I want it to start scrolling at a certain point. The only way I could think to do this is with a tiny stretched image, but that seams messy and hackish. Is there a better way?

marcel

8:30 am on Jan 2, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



min-width is what you're looking for, it doesn't work well in some older browsers though. A quick search should find some hacks for this though.