It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

Using conditional statements for css style sheets

Using conditional statements for css style sheets

Postby beginner_83 on Fri Sep 17, 2010 3:48 am

Hi All,

I'm having problems getting my website to look the same in IE and other browsers. I've tried to use conditional statements to include the style sheet for IE but it's not working. This is my code...

Code: Select all
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>My Title</title>

<!--[if IE]>
<link rel="stylesheet" type="text/css" href="iestyle.css" />
<![endif]-->

<link rel="stylesheet" type="text/css" href="mozcss.css"/>
</head>


Can anyone help me with what's going wrong??

Thanks in advance
beginner_83
 
Posts: 23
Joined: Sun May 24, 2009 4:36 pm

Who is online

Users browsing this forum: No registered users and 9 guests