how to specify minimum page width?

G

Greg N.

I've got a CSS based site that is all nicely elastic. However, when the
browser window gets too narrow, things get a bit ugly, if not messy.

What I'd like to do, is somehow specify a minimum browser width. If the
browser is resized narrower than that nminimum, elasticity should end
and the horizontal scroll bar should appear.

It's probably simple, but I just can't find a good way to do it. Help?
 
E

Els

Greg said:
I've got a CSS based site that is all nicely elastic. However, when the
browser window gets too narrow, things get a bit ugly, if not messy.

What I'd like to do, is somehow specify a minimum browser width. If the
browser is resized narrower than that nminimum, elasticity should end
and the horizontal scroll bar should appear.

It's probably simple, but I just can't find a good way to do it. Help?

min-width:40em; works for most browsers.
For IE you'll need tricks to do it.
 
G

Greg N.

Els said:
min-width:40em; works for most browsers.
For IE you'll need tricks to do it.

That's a funny statement.

IE *is* most browsers, like it or not.
 
E

Els

Greg said:
That's a funny statement.

IE *is* most browsers, like it or not.

No, IE is not most browsers.
IE may have the largest amount of installations/users, but it only is
4 browsers. (Counting MacIE5.2, WinIE5, 5.5 and 6).
Now count Mozilla, Firefox, Netscape, Opera, Konqueror, Lynx, Icab,
and all the other ones I can't think of right now.
 
D

dorayme

From: Els said:
No, IE is not most browsers.

OP was not likely meaning to be literal. It is a sort of American speak, and
frankly I thought he put his point well and more succinctly than to spell it
out in literal terms. What he is saying is just one step removed from the
literal-and-true. He saying something true, relevant but no, not literal.

dorayme
 
V

Vladdy

Greg said:
That's a funny statement.

IE *is* most browsers, like it or not.
For the sub-par HTML renderer a.k.a. IE you can resort to their
proprietary expression() as the CSS property value:

width: expression((document.documentElement.clientWidth < 700?700 :
document.documentElement.clientWidth) + "px");
 
T

Travis Newbury

Leif said:
So horribly-broken products magically become all right when the
millennium (century? decade?) changes?

No, Microsoft bashing is just childish and immature at best...
 
L

Leif K-Brooks

Travis said:
No, Microsoft bashing is just childish and immature at best...

No one here has bashed Microsoft. Some of us have been criticizing one
of its most broken products, Internet Explorer.

Sorry. Let me start again.

I love IE! I love screwless computer cases! I love Firestone tires! I'm
not childish, and I know it because I love every broken product ever
invented!
 
T

Travis Newbury

Leif said:
No one here has bashed Microsoft. Some of us have been criticizing one
of its most broken products, Internet Explorer.

"IE is not a browser"
"No it is a bug"

Apparently we have a different view over what bashing is. If you have a
complaint with IE (and there are many, I only use it when the site will
not work right with FF) then mention them. Saying "IE is not a browser"
or "IE is a bug" is, in my opinion, bashing.
 
V

Vladdy

Travis said:
Apparently we have a different view over what bashing is. If you have a
complaint with IE (and there are many, I only use it when the site will
not work right with FF) then mention them. Saying "IE is not a browser"
or "IE is a bug" is, in my opinion, bashing.

browser:
2. a computer program used for accessing sites or information on a
network (as the World Wide Web)

Can IE access XML file? No. Therefore it is not a browser, but a sub par
HTML renderer.
 
D

dorayme

From: Vladdy said:
Can IE access XML file? No. Therefore it is not a browser, but a sub par
HTML renderer.

This is poor reasoning... See if you can spot the error.

dorayme
 
L

Leif K-Brooks

Vladdy said:
Can IE access XML file? No. Therefore it is not a browser, but a sub par
HTML renderer.

Can Mozilla render PDF files natively? No. Therefor it is not a browser.

(XML isn't a core Web technology. The core parts of HTTP which IE
doesn't support are.)
 
S

Stan McCann

Greg N. said:
That's a funny statement.

IE *is* most browsers, like it or not.

No, IE is the most popular browser (but slipping). There are many
others that make up "most." Els was perfectly correct in his
statement.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top