Topic: Tables max width |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: oslo, Norway |
posted 06-20-2003 20:02
The subject saysit all, i have a table that covers 80% of the screen, but when it reach 1000 px i want it to stop growing |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 06-20-2003 20:07
Osaires: Hmmmmmmmm its doable in CSS2 but browser support is still patchy. Look up min-width in the CSS compatibiliy charts. |
Paranoid (IV) Inmate From: oslo, Norway |
posted 06-20-2003 20:14
hmm, Yeah would be nice to have that browser suport though. |
Maniac (V) Inmate From: Brisbane, Australia |
posted 06-24-2003 04:16
You could do that with javascript, but it wouldn't be pretty. |
Maniac (V) Inmate From: under the bed |
posted 06-24-2003 14:53 |
Maniac (V) Inmate From: California |
posted 07-03-2003 22:34
As said before, min-width and max-width are the way to go. Unfortunately, IE doesn't support this CSS2. Another useful property is "white-space". (Not really related but...) Again, no support from IE. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 07-04-2003 02:24
ozphactor: Are you sure IE doesn't support white-space? I know IE 5 doesn't, but I've had at least some success using it in IE 6. I wouldn't be surprised if it's buggy, but I think it is partially supported. |
Maniac (V) Inmate From: California |
posted 07-04-2003 04:37
Oops. |