On 3/7/11 4:20 AM, David Postill wrote:
On Mon, 7 Mar 2011 09:38:16 +0100, dick van swieten wrote:
| Hi all,
|
| I made a website in CSS that works fine in all major browsers, except in
| IE7.
| I used position: fixed for the upper part of the pages (the logo, slideshow
| and navigationbuttons)
| and these parts are not shown in IE7.
|
| The CSS Validator doesn't show any errors, so I really have no idea how to
| "fix" this.
| At first I believed that the slideshow caused the problem, but when I
| replace the slides with
| background-images the same problem occurs.
| Could somebody help me please ?
| http://www.kunsthanger.nl/
|
|
| Thanks in advance !
The CSS validator may not show any errors but the HTML validator shows 71!
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.kunsthanger.nl%2F
Hmm. This is showing up as "valid" this end.
Any road up, the page is borked in Opera 11 as well. That browser is
applying the negative top margin to the fixed #logo, while others seem
to ignore it. Perhaps IE is doing the same thing?
Try positioning the fixed elements with "top" and/or "bottom" and
"left" and/or "right" instead of margins.
I don't think that "float" applies to positioned elements...
--
Cordially,
David
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/