CSS positioning: IE hack

.myfloat {
  background-image:url(image.jpg);
  background-repeat:no-repeat;
  background-position:top;
  width:522px;
  height:249px;
  position:relative;
  left:-17px;
  left /*\**/: -18px\9; /* IE8 */
  ^left:-17px; /* IE6/7 */
}

Comments

Popular posts from this blog

How to resolve 'res://ieframe.dll/acr_error.htm#' error (Internet Explorer stopped working while viewing a website)

htaccess: Redirecting multiple domains to the main domain

Removing index.php in Codeigniter using XAMPP on Windows