CSS syntax only for IE

webdesign

Well-known member
Joined
Jul 5, 2012
Messages
120
Points
0
There will be times when you display different IE browsers you will need to create a completely separate form and include it in the web page whenever customers are using Internet Explorer.

Code:
<!--[if IE]>
    <link rel="stylesheet" type="text/css" href="ie-only.css" />
<![endif]-->
Used for IE 7

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

aixporter

Member
Registered
Joined
Dec 12, 2012
Messages
51
Points
0
Remember that this technique is not supported in all browsers and can lead to duplicate .. so you'll want to place the default css below.
 
Older Threads
Replies
2
Views
4,212
Replies
7
Views
13,985
Replies
4
Views
13,678
Replies
1
Views
12,267
Replies
3
Views
12,561
Newer Threads
Replies
1
Views
3,263
Replies
3
Views
3,031
Replies
5
Views
6,135
Replies
5
Views
4,889
Replies
8
Views
4,774
Recommended Threads
Replies
20
Views
9,730
Replies
27
Views
14,157

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top