Killersites Community: IE Conditional commens - Killersites Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

IE Conditional commens

#1 User is offline   antpower26 

  • PipPip
  • View blog
  • Group: Member
  • Posts: 27
  • Joined: 26-April 11

Posted 04 August 2011 - 10:25 AM

Hi All I am just trying to write IE conditional comments for IE 6/7, the code is working as in both browsers the specific stylesheet
coded fixes the various problems with the CSS. However the problem I have that some of the conditional comment is appearing in the top left of the browser only in IE. The code I am using is:

<!--[if (IE6) (IE7)]><link rel="stylesheet" type"text/css" href="IE6.css><![endif]-->

The code appearing is before and after the stylesheet code.

Any help appreciated.
Ant
0

#2 User is offline   Ben 

  • View blog
  • Group: Administrators
  • Posts: 5,419
  • Joined: 19-December 08
  • LocationChico, CA

Posted 04 August 2011 - 10:41 AM

That doesn't look like the valid syntax for conditional comments -- specifically this section: <!--[if (IE6) (IE7)]>. I'd suggest looking at that first.

See http://www.quirksmod...ss/condcom.html
Benjamin Falk | Falken Creative : Twitter : KillerSites Screencast Blog
Skills: Photoshop, Illustrator, HTML, CSS, jQuery, PHP and CodeIgniter
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users