- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
@font-face {
font-family: 'verdanaregular';
src: url('../images/fonts/verdana-webfont.eot');
src: url('../images/fonts/verdana-webfont.eot?#iefix') format('embedded-opentype'),
url('../images/fonts/verdana-webfont.woff') format('woff'),
url('../images/fonts/verdana-webfont.ttf') format('truetype'),
url('../images/fonts/verdana-webfont.svg#verdanaregular') format('svg');
font-weight: normal;
font-style: normal;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'verdanaregular';
src: url('../images/fonts/verdana-webfont.svg#verdanaregular') format('svg');
}
}
i used this code to fix windows chrome rendering issue and it solved, after that font-weight:bold
is not working for any element in my stylesheet , its urgent
Would like to see a link to the website, but suspect you are on the wrong track here with using Verdana as a webfont. Have you tried this -webkit-font-smoothing: antialiased
?
i have used that one but its not working
Without a link to your site one can only guess, so here we go:
body {
font-family: verdanaregular, verdana, sans-serif;
font-weight: normal;
}
b, strong, em, h1, h2, h3, h4, .stong {
font-family: verdana, sans-serif;
font-weight: bold;
}