can a div width 'submit' to a minimum width of a div inside itself?

Posted on 2006-11-30
Last Modified: 2006-11-30

On this page:

The page container div is set to adjust with browser window width, but is there a way to stop it from shrinking beyond a certain point? The banner image would be a nice minimum, but currently the page container will shrink behind the banner image and it looks clunky.

Any suggestions?


Question by:billium99
LVL 30

Accepted Solution

Steggs earned 500 total points
ID: 18045871
Greetings billium99,

You could add min-width:800px; to the containers css.

This will work for all browsers except ie6 :/


Author Comment

ID: 18046687
Thanks Steggs


Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

"I want to put my photos online, but I don't want them stolen.  What settings should I use?" When You Put Photos Online First and foremost, any digital file published on the WWW can be copied, stored, modified, retransmitted, etc.  Remember Naps…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now