Posts by felipemorais • 51 points
2 posts
-
0
votes3
answers2650
viewsA: @font-face does not work in Firefox, but in IE and Chrome they work
Did you notice the error console? Usually the problem with fonts in firefox has to do with the lack of declaration of Mimetype or CORS. // Declara MimeType AddType font/ttf .ttf AddType font/eot…
-
4
votes10
answers68840
viewsA: How to make a <div> occupy the entire page width but leave a gap of a few pixels on each side in CSS?
In elements positioned with Fixed or Absolute you can use the properties left right top to adjust the dimensions. In your case, you wouldn’t need to add width:100%; in the div, just set left:5px;…