kam270
06-16-2008, 07:08 PM
I want to use conditional comments to load a style sheet for IE7.
The site im designing for is : www.efficient-heat.net
When I check the site in IE7 I see images for the content area being placed incorrectly. They are over to the right of the page when they should be in the middle.
When I check the images with IE dev bar they have a position of absolute. However the ie_7style.css sheet has them with a position float left. When I link to the ie7style.css without conditional comments and load the page it works as intended.
I believe the absolute positioning is coming from the style.css sheet which is intended for Firefox.
It seems to me that the ie7style sheet isn't being implemented properly and is relying somewhat on the style.css to render the page.
How do I resolve this problem?
The site im designing for is : www.efficient-heat.net
When I check the site in IE7 I see images for the content area being placed incorrectly. They are over to the right of the page when they should be in the middle.
When I check the images with IE dev bar they have a position of absolute. However the ie_7style.css sheet has them with a position float left. When I link to the ie7style.css without conditional comments and load the page it works as intended.
I believe the absolute positioning is coming from the style.css sheet which is intended for Firefox.
It seems to me that the ie7style sheet isn't being implemented properly and is relying somewhat on the style.css to render the page.
How do I resolve this problem?