Forum Moderators: not2easy
I'm having problems with the following page:
<snip>
It looks alright in FF and IE7, but IE 6.0 somehow moves the main content to the right side.
This happended after we inserted an additional DIV for the advertisment on the right side. We changed the width value for .main.
Thanks for any help!
[edited by: DrDoc at 8:24 pm (utc) on June 24, 2007]
[edit reason] No URLs, thanks. See TOS #13 [WebmasterWorld.com]. [/edit]
Do a search for conditional comments which you should find on the MSDN website, implement a conditional comments stylesheet for IE 5-6.
<!--[if lte IE 6]><link href="fix_ie_5-6.css" media="screen" rel="stylesheet" title="use_same_title_for_all_concurrent_stylesheets" type="text/css" /><![endif]-->
This IE conditional comments argument is that it should be used for IE versions 6 or less (if I'm correct of course). ;)
Simply change the code for IE in this IE specific stylesheet that all other browsers will ignore and will not break standards compliance.
When fixing IE bugs with a conditional comment style sheet try odd things, margin-left: 15%; for example centers objects in some situations but it's IE we're talking about. ;)
- John