html - CSS ignoring @font-face declarations -
i have 2 @font-face assignments in css. second/last 1 ever renders, though identical.
@font-face { font-family: 'callunaregular'; src: url('callunaregular/calluna-regular-webfont.eot'); src: url('callunaregular/calluna-regular-webfont.eot?#iefix') format('embedded-opentype'), url('callunaregular/calluna-regular-webfont.woff') format('woff'), url('callunaregular/calluna-regular-webfont.ttf') format('truetype'), url('callunaregular/calluna-regular-webfont.svg#callunaregular') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'bodonitownregular'; src: url('bodonitownregular/bodonitown-webfont.eot'); src: url('bodonitownregular/bodonitown-webfont.eot?#iefix') format('embedded-opentype'), url('bodonitownregular/bodonitown-webfont.woff') format('woff'), url('bodonitownregular/bodonitown-webfont.ttf') format('truetype'), url('bodonitownregular/bodonitown-webfont.svg#bodonitownregular') format('svg'); font-weight: normal; font-style: normal; }
i think it's simple fix, don't know i'm doing wrong!
edit:
<body style='background-color:white'> <div align='center' style='position:absolute;left:500px;top:89px'> <a id='title' href='home.html' > <span style="font-family: callunaregular; font-size: 79px;">open mic night</span> </a>
is identical setting font-family times.
perhaps 1 causes problem?:
'callunaregular/calluna-regular-webfont.svg#bodonitownregular'
see, after hash?
Comments
Post a Comment