hello,
sorry for my english...
in my gallery http://www.foto-grafen.de/webalbum/index.php (http://www.foto-grafen.de/webalbum/index.php) I have set "max-width:1280px;" for the <div> "#seite1" in the "style.css".
it works in Firefox and Opera. In IE7 doesn't work. I dont know, why.
"max-width:1280px;" works at my mainpagehttp://www.foto-grafen.de/index.html (http://www.foto-grafen.de/index.html).
Can anyone help me?
MfG dp-wurzel
max-width should work in IE7, but doesn't work in previous versions of IE, so you shouldn't rely on it (see http://de.selfhtml.org/css/eigenschaften/positionierung.htm#max_width [German article]). Why don't you use width instead of max-width?
Hello,
Yes, I know "max-width:" works >= IE7.
Why not "width:"? If the screen resolution smaller than 1280px is a scroll bar. "Max-width:" reduced viewing on the screen resolution. No Scrollbar.
I do not know why it works on the start page but not in the gallery and why works in Firefox and Opera?
Is there a setting in the Template.php?
MfG dp-wurzel
<english from Google ;)>
Not sure if this helps, but IE7's interpretation of "max-width" seems to depend on the Doc Type declaration.
Here's a reference:
http://www.wileymedia.com/weblog/archives/2007/02/maxwidth_and_internet_explorer.html (http://www.wileymedia.com/weblog/archives/2007/02/maxwidth_and_internet_explorer.html)
You really shouldn't use max-width at all, as it is not working across browsers. IE 6 or older is still around a lot.
Hi,
Problem solved.
I have PHP Code before Doctype.(Adlogger Cache Control)
IE7 goes in Quirks Mode.
Thanks all
MfG dp-wurzel