Lets think... hmmmm 90% of the visitors will probably use IE. So how
much time do you want to spend on something that will not work on the
browser of choice of almost all your visitors. Change your design.
> IE doesn't understand that and the width of the box is always 60 % of the
> width of the viewport.
> Nothing I have tried works as wanted.
You supplied yourself with the answer. IE doesn't know how to do it.
it will not work for IE which means it will not work for most of your
visitors. So you have 2 options.. Don't do it. Or put up a stupid
message that the page is optimized for everything but IE.
> Anyone who knows how to make IE do as wanted?
Yes, but it would require that get the source code to IE and make some
changes. Bill won't like that.
Dylan Parry wrote:
> It's a total hack, but I would use something like:
> <div style="width: 60%; min-width: 300px; border: 1px solid black;">
> <div style="width: 300px; height: 0; line-height:0;></div>
It's very much like a solution with a 1px high invible *.gif, I have used
previously. I don't like this way to do it.
> Lets think... hmmmm 90% of the visitors will probably use IE. So how
> much time do you want to spend on something that will not work on the
> browser of choice of almost all your visitors. Change your design.
That's the easy answer. It would be jumping the fence at the lowest point.
But you see, I'm running a web-site where others seek the answer when having
trouble with their own homepage. I allready have made pages, where I show
how to make min-height and max-width. These pages work fine in IE and I
would like to fill in the blankes (max-height and min-width) too.
>> Nothing I have tried works as wanted.
> You supplied yourself with the answer. IE doesn't know how to do it.
I do not see it that simple. I know IE will not understand plain css for
these things, but somebody may know a hack that works.
You can se the how to solve the min-height problem at:
I've heard of that before, but never actually tried it. How does it
perform in the real world? Have you used it on any sites that you've
work in some cases because folk have disabled scripting