Topic: Tables max width |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: oslo, Norway |
![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() hmm, Yeah would be nice to have that browser suport though. |
Maniac (V) Inmate From: Brisbane, Australia |
![]() ![]() ![]() ![]() You could do that with javascript, but it wouldn't be pretty. |
Maniac (V) Inmate From: under the bed |
![]() ![]() ![]() ![]() |
Maniac (V) Inmate From: California |
![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() Oops. |