View Single Post
  #2 (permalink)  
Old Feb 1st, 2007, 15:13
karinne's Avatar
karinne karinne is offline
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: hacks within CSS file

The

Code: Select all
 <!--[if IE]>
 
<![endif]-->
you put in your HTML document to send another stylesheet with the modifications for IE. So ... stuff like widths or 3-pixel-jog that are buggy in IE, you would put them in there.

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-NL" xml:lang="EN-NL">

<head>
    <title>prosite | internet solutions</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    
<link href="/css/styles.css" rel="stylesheet" type="text/css" media="all" />
    
    <!--[if IE 6]>
    <link href="/css/ie.css" rel="stylesheet" type="text/css" media="all" />
    <![endif]-->
    
</head>
<body>
...
</body>
</html>
Reply With Quote