There's a thing to say about this technique: it only works in browsers which support CSS3, such as Safari and the newer versions of Firefox.
On Wed, Mar 4, 2009 at 10:56 PM, Cora <[email protected]> wrote: > > Hi, > Did you mean the font family looks different in different browsers? > There's one method which can import a custom font. > > @font-face { > > font-family : '"myFont"'; > src : url("myFont.ttf"); > font-style : normal; > } > } > body , td { > font-family : myFont, Arial, Verdana; > font-size : 8px; > } > > > > On Feb 23, 6:41 am, "Erik R. Peterson" <[email protected]> wrote: >> Hello everyone. >> >> I'm just beginning to place text in my webpage and for the life of me >> the font formatting sucks across platforms and browsers. >> >> Here is the webpage: >> >> My text is on the right side panel. It looks great in safari, but >> sucks everywhere else. >> >> http://www.honestskin.com/start.htm >> >> What is the BEST approach toward formatting fonts for the different >> browsers? Can anyone show me any CSS for fonts that works with most >> browsers? >> >> Here is what I've done: >> >> { >> width: 246px; >> margin: 10px 26px auto; >> float: left; >> border: 0px; >> padding-bottom: 0px; >> display: inline; >> line-height: 1.5em; >> font-size: 138%; >> text-align: left; >> color: #FFE09F; >> padding: 0; >> font-family: verdana,sans-serif; >> >> } >> >> Thank you so much for any responses. >> >> Erik > > > -- André Ferreira [email protected] --~--~---------~--~----~------------~-------~--~----~ -- You received this because you are subscribed to the "Design the Web with CSS" at Google groups. To post: [email protected] To unsubscribe: [email protected] -~----------~----~----~----~------~----~------~--~---
