Saturday, July 18, 2009

International Color Card

Handling CSS

I am designing a new template for this blog and, since all major browsers (and the only ones that interest me support) implemented css3 , I decided to add use some elements of the new standard. Particularly wanted to use the property @ font-face . Because I use firefox , I tend to design tests performed on this browser. The results were unfortunate and although I did not change the css resigned myself to not use the subject property.

The surprise was where I opened it, by chance, the same page in Opera and suddenly there appeared sources. Then, after further experiments, I discovered the reason for the problem. To protect intellectual property on the sources, the property does not apply @ font-face unless the file Supply is on the same server as the page you expect to use, however, Opera have no problem in displaying the correct font no matter which server is hosted.

0 comments:

Post a Comment