Check the following source code
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title> </title>
<style type="text/css">
.ie{
margin-top: 20px;
border: 1px solid blue;
width: 200px;
height: 200px;
}
</style>
<!--[if IE]>
<style type="text/css">
.ie{
margin-top: 50px;
border: 1px dotted red;
width: 200px;
height: 200px;
}
</style>
<![endif]-->
<script type="text/javascript">
</script>
</head>
<body>
<div class="ie"> </div>
</body>
</html>
The highlighted section will be considered only by IE. In this case you have a IE specific CSS rule which will be considered only by IE. To identify the differences I've mentioned different border color for FF and IE
Bookmarks