CSS HACK

August 5, 2008

css hack in safari 3.0

Filed under: CSS Hack — Tags: , , , , — admin0 @ 11:45 pm

@media screen and (-webkit-min-device-pixel-ratio:0){
   #uploaden{
      margin-top:-180px;
   }
}

Css comment hack for all IE browser

Filed under: CSS Hack — Tags: , , , , , , , , , — admin0 @ 11:41 pm

Through html comment we can do css comment hack in All ie brower as per needed. . Here we have code mania for css hack for IE. it is w3c validate code also.

<!--[if IE]>
conditional for Internet Explorer
<![endif]–>

<!—[if IE 5]>
Conditional comment this is Internet Explorer 5
<![endif]–>

<!–[if IE 5.0]>
Conditional comment this is Internet Explorer 5.0
<![endif]–>

<!–[if IE 5.5]>
Conditional comment this is Internet Explorer 5.5
<![endif]–>

<!–[if IE 6]>
Conditional comment this is Internet Explorer 6
<![endif]–>

<!–[if IE 7]>
Conditional comment this is Internet Explorer 7
<![endif]–>

<!–[if gte IE 5]>
Conditional comment this is Internet Explorer 5 and up
<![endif]–>

<!–[if lt IE 6]>
Conditional comment this is Internet Explorer lower than 6
<![endif]–>

<!–[if lte IE 5.5]>
Conditional comment this is Internet Explorer lower or equal to 5.5
<![endif]–>

<!–[if gt IE 6]>
Conditional comment this is Internet Explorer greater than 6
<![endif]–>

Powered by WordPress