udexter
udexter

Reputation: 2347

How to do a minimum width for websites that uses relative (%) widths compatible with IE6+?

I've a website that I use percentages (%) for widths to do a flexible webiste. The problem is that in a X width (like 800px) all brokes.

There is anyway to block at 800px and then show scrollbars? I wish that you understand me.

Thank you in advance!

Upvotes: 1

Views: 241

Answers (1)

Pekka
Pekka

Reputation: 449813

There is the min-width property but it doesn't work in IE6.

A workaround that I have seen is incorporate a transparent, 1px high, 800px wide image into the page that will keep the container always at a minimum of 800 pixels no matter how much the page is shrunk.

Upvotes: 3

Related Questions