![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
For some reason, max-width isn't working on my computer. It's probably a minor syntax error on my part, but I just want to be sure. I'm running IE 6.0.2800.1106 SP1, |
|
table { max-width: 1024px } table cellpadding="5" width="100%" |
#3
| |||
| |||
|
|
The file is being called correctly, since all of my other CSS is working properly, but when I look at the page in my higher resolution, it's still at 100%. Am I missing something? |
#4
| |||
| |||
|
|
The min- and max- width and heights don't work in Internet Explorer. Check in something like Opera or Mozilla Firebird and you could find you have done your bit ok. Andrew Clover has a JavaScript (http://www.doxdesk.com/software/js/minmax.html) to fudge around this transparently for IE5+ on Windows which may help, depending on your particular requirements. |
|
What are browsers suppose to do when the specified width and the max-width conflict? |
#5
| |||
| |||
|
|
Mike wrote: For some reason, max-width isn't working on my computer. It's probably Internet Explorer doesn't support max-width. table { max-width: 1024px } table cellpadding="5" width="100%" What are browsers suppose to do when the specified width and the max-width conflict? |
|
Applies to: all elements except non-replaced inline elements and table elements ^^^^^ |
#6
| |||
| |||
|
|
Thanks a lot, Graham, I'm checking that out now. Didn't realize that it didn't work with IE, I though that 6.0 was supposed to support it. |
|
My thought there was that it would be at 100% unless the visitors resolution was set higher than 1024x768, at which point it would be set at 1024. Was this not right? |
![]() |
| Thread Tools | |
| Display Modes | |
| |