87dave87 Posted August 5, 2009 Share Posted August 5, 2009 I have the following piece of code: - <div class="txtFooter">Copyright © Company 2009. All Rights Reserved.</div> I want the copyright symbol to be a different font to the rest (as the font im using doesn't display the symbol) - how can I do this? It needs to be on the same line. Link to comment https://forums.phpfreaks.com/topic/168960-want-a-different-font-for-%C2%A9-symbol/ Share on other sites More sharing options...
gevans Posted August 5, 2009 Share Posted August 5, 2009 add a new font in your css file .txtFooter { font-family: whatever font; } Link to comment https://forums.phpfreaks.com/topic/168960-want-a-different-font-for-%C2%A9-symbol/#findComment-891412 Share on other sites More sharing options...
87dave87 Posted August 5, 2009 Author Share Posted August 5, 2009 Hi yes I have that bit but then how would I link that in? Link to comment https://forums.phpfreaks.com/topic/168960-want-a-different-font-for-%C2%A9-symbol/#findComment-891415 Share on other sites More sharing options...
gevans Posted August 5, 2009 Share Posted August 5, 2009 put a span around the symbol <span class="copy">©</span> Link to comment https://forums.phpfreaks.com/topic/168960-want-a-different-font-for-%C2%A9-symbol/#findComment-891421 Share on other sites More sharing options...
haku Posted August 5, 2009 Share Posted August 5, 2009 Be warned: if the user doesn't have the font installed on their computer, that fon't wont be applied. I'm guessing you are already using a non-websafe font, as the @ sign exists in all web safe fonts. That means that already whatever font you are using won't be seen by the large marjoity of users. Link to comment https://forums.phpfreaks.com/topic/168960-want-a-different-font-for-%C2%A9-symbol/#findComment-891431 Share on other sites More sharing options...
TheFilmGod Posted August 6, 2009 Share Posted August 6, 2009 Are you using a font-family? Always specify a websafe default font. Link to comment https://forums.phpfreaks.com/topic/168960-want-a-different-font-for-%C2%A9-symbol/#findComment-891768 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.