css - <h1> and <h2> are not displayed as expected in Opera browser -
i using css above style h1 , works on browsers except opera changes positioning lot:
h1{ position:fixed; left:5px; top:5px; color:#111; font-family:'josefin sans', arial, serif; font-size:3.3em; margin:0px; margin-top: 2px; margin-bottom: 2px; padding: 0px;; }
i tried replacing h1's h2's , works nice on browsers again positioning in opera seems good, font-size not , font used browsers default...is there should know heading in opera don't?please advice...! other browsers:
opera:
edit: main problem seems doesn't implement font have used google(that other browsers do...) implements similar on above...
have tried using pixels font-size instead of em? maybe opera interprets em differently other browsers...
edit - using em font size not issue. neither position:fixed attribute. here solution:
problem solved after removed 'josefin sans', , had them again...now opera presents backup fonts, think problem stupid combination of cache , of opera being incapable load google font h1
Comments
Post a Comment