How to overcome responsive web design IE 8 browser issue using css?

arronmattwills

Well-known member
Registered
Joined
Dec 23, 2013
Messages
191
Points
18
Hi friends, recently we have worked on a responsive website.
We know that responsive website consists of html 5 and css 3 tags and properties.
We have used html 5 properties like article, section, header and footer.
But these tags Internet explorer doesn't support.
For that we have changed html 5 tags to divs.
After replacing the div s in place of html 5 tags also it is not working.
It is due to media queries issue.

So we have created a separate c s s file for Internet explorer 8 and it's below versions. In the following format.
<!--[if lte IE8 ]>
<link type="text/css" href="ie8.css" rel="stylesheet" />
<![endif]-->
So here lte means less than or equal to.

Some where i have read there will be a hacking problem with this code. But as far as information based websites it will not effect, we can use it.

Please write your responses, if you have faced like this problem earlier.
 

deadmix

Member
Registered
Joined
Jul 25, 2013
Messages
30
Points
0
Thank you so much for this small article but that fix the IE issue.. i don't understand why it's always the Internet Explorer which make issues on websites.. all other browsers are compatible and updated in order to handle the html5 and css3 new proprieties and attributes, but Microsoft is always so old...
 

Matt

Global Mod
Staff Member
Joined
Jul 1, 2012
Messages
82
Points
18
I'm rare using this code :D
Code:
<!--[if lte IE8 ]>
<link type="text/css" href="ie8.css" rel="stylesheet" />
<![endif]-->
I often use a css file and my web template are compatible with all browsers, all IE versions :D, I suggest you should check when you are designing your web layouts on all browsers. It will avoid errors on different browsers
 
Older Threads
Replies
7
Views
5,909
Replies
6
Views
3,978
Replies
8
Views
4,335
Replies
0
Views
2,631
Newer Threads
Replies
6
Views
4,705
Replies
14
Views
5,713
Replies
5
Views
3,541
Replies
6
Views
3,513
Replies
3
Views
3,639
Latest Threads
Recommended Threads
Replies
4
Views
2,131
Replies
4
Views
1,123
Replies
3
Views
3,165

Latest Hosting OffersNew Reviews

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