How best to Force Unique font - Noob 101, @font-face not behaving |
How best to Force Unique font - Noob 101, @font-face not behaving |
BalancedLineOut |
Feb 15 2012, 02:39 PM
Post
#1
|
Newbie Group: Members Posts: 11 Joined: 15-February 12 Member No.: 16,487 |
I remember a few years ago building a ebsite and specifying a unique font using the M/S WEFT tool. I want to force browsers to use a specific font again, and came across "@font-face". I used the online utility font-squirrel, and even after doing that, I can't get the unique font to load in my web page. The sample they provide works fine, so it has to be something I'm doing... or not doing.
I know this sounds really nasty, but I've not worked with CSS before this past weekend, although I can immediately see it's advantages, and I've created so very nice pages with it. I seem to be missing the boat on this font thing, something that should be relatively simple. I guess I'm confiused as to where the specific pieces of code go... in the index.html or the sytle.css file. Non of the tutorials are clear on that, and assume more knowledge on the subject than I have. I've even gone back to the basics - since the site I was trying to apply this to was kind of busy with code - and started working fresh on new files. Still can't get the font to work....unless I load it as a system font,. Thks for the read, and putting up with another noob. S~ |
pandy |
Feb 15 2012, 02:48 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,753 Joined: 9-August 06 Member No.: 6 |
I guess I'm confiused as to where the specific pieces of code go... in the index.html or the sytle.css file. Non of the tutorials are clear on that, Sure they are! http://htmlhelp.com/reference/css/style-html.html Typically you want to use an external style sheet (the first option at the above page). If you want to used an embedded style block you need to repeat it in every page and that's no fun. The style attribute is even worse and not an option for this. |
BalancedLineOut |
Feb 15 2012, 03:23 PM
Post
#3
|
Newbie Group: Members Posts: 11 Joined: 15-February 12 Member No.: 16,487 |
QUOTE Sure they are! http://htmlhelp.com/reference/css/style-html.html Typically you want to use an external style sheet (the first option at the above page). If you want to used an embedded style block you need to repeat it in every page and that's no fun. The style attribute is even worse and not an option for this. Haha... I had just bookmarked that site, and hadn't started reading though it yet. I guess what I meant to say was none of the sites I had read at that time....were clear on that. I will see how I do getting thoguh that one. S~ |
Lo-Fi Version | Time is now: 21st September 2024 - 05:23 PM |