Forum Moderators: not2easy

Message Too Old, No Replies

Problems in IE 6.0 again

Site looks OK in FF and IE7.0, but not in IE6

         

socken

2:56 pm on Jun 24, 2007 (gmt 0)

10+ Year Member



Hi all!

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]

JAB Creations

4:51 pm on Jul 6, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi socken,

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