Knowledge Walls
John Peter
Pune, Maharashtra, India
How to set compatibility mode for IE(Internet Explorer) using HTML
HTML <meta> tag is helps to set compactibility mode to page header information. http-equiv="X-UA-Compatible" and content is  IE=7,IE=8 or IE=9, This is the way of setting compactibility mode in Internet Explorer.

<meta http-equiv="X-UA-Compatible" content="IE=7" />
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
        <meta http-equiv="X-UA-Compatible" content="IE=8" />
        <div style="display:inline-block;background-color: yellow;">data</div>
DOCTYPE tag should be declared to get document mode IE8 working.
Previous Topics
Previous lessons of current book.
Computer software engineer articles of One day One Thing to Know
Best Lessons of "One day One Thing to Know"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details