2/10/12

Css for Chrome, Safari and Firefox

Another note to self....

The css I used for a web application seemed to work fine in Firefox 15. Unfortunately, the top:440px did not work as expected. What I did was putting

@media screen and (-webkit-min-device-pixel-ratio:0) {
   div.scroll-home { top: 140px; }
}

to solve the problem for Safari and Chrome browsers and within the class I used

top:140px\9; 

\9 refers to IE 9