Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1

    Default How to implement font-family statement?

    I've been told I should control the default font preference order for my web page by using the following statement:

    font-family: Tahoma, Arial, Verdana, sans-serif;

    But, I can't find a reference in the help file to tell me where to place this statement.

    Where should this statement be placed? Or does Xara provide a different method of doing this?

    Thanks for any assistance.

  2. #2

    Default Re: How to implement font-family statement?

    I assume an SEO 'ex-spurt' told you this?
    Xara Designer uses wysiwyg text styles written to .CSS (xr_text.css)
    You could try adding your own external .css with classes, but you'd have to significantly edit the HTML source after export.. But, Xara Designer is not a HTML editor as you know.
    Leave the HTML up to Xara Designer and concentrate on your design

  3. #3

    Default Re: How to implement font-family statement?

    I appreciate your response. And you're probably right about just letting Xara handle the HTML. But the terms you've used are beyond my grasp (e.g., external .css with classes).

    What I thought I knew is that there's a font pecking order that can be controlled. If #1 is not installed on a PC, the browser will use #2 and so on.

    I'm just trying to impose some order to web layouts that could look pretty bad with the wrong font. Am I misunderstanding the mechanism? Does Xara take care of this?

  4. #4

    Default Re: How to implement font-family statement?

    Yes, because these are web safe fonts.

    Besides, version 8 of Designer allows non-web safe fonts by embedding [it] into the page which the browser temporarily downloads to it's cache. So it matters not if the visitor has the font installed - it's irrelevant

  5. #5
    Join Date
    Sep 2011
    Location
    Darlington, Western Australia
    Posts
    239

    Default Re: How to implement font-family statement?

    Quote Originally Posted by Contours View Post
    What I thought I knew is that there's a font pecking order that can be controlled. If #1 is not installed on a PC, the browser will use #2 and so on.

    I'm just trying to impose some order to web layouts that could look pretty bad with the wrong font. Am I misunderstanding the mechanism? Does Xara take care of this?
    XaraMX8 embeds fonts. Not all of the fonts available in MX8 can be embedded, but most of them can. This means that the font you choose to use will be embedded and will display on other people's computers exactly as it is on your website. The website visitor's computer will not convert the embedded font to something else.

  6. #6
    Join Date
    Sep 2011
    Location
    Darlington, Western Australia
    Posts
    239

    Default Re: How to implement font-family statement?

    Haha Sledger! you and I were both typing the same thing at the same time.

  7. #7

    Default Re: How to implement font-family statement?

    Not all of the fonts available in MX8 can be embedded, but most of them can.
    I had been looking at that as a possibility. Do you know if Win 7 fonts like Calibri, Cambria and Corbel be embedded in this manner? And will they display on an XP machine?

  8. #8

    Default Re: How to implement font-family statement?

    Just give it a try, Designer will warn you when fonts cannot be embeded.
    Any font which can be embedded will display on any machine because it's the browser doing the rendering.
    Last edited by steve.ledger; 28 February 2013 at 07:43 AM.

  9. #9

    Default Re: How to implement font-family statement?

    Designer will warn you when fonts cannot be embeded.
    That's good to know (I didn't).

    Thanks for your help.

  10. #10
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: How to implement font-family statement?

    Xara places this font family into the html.

    View the source & you'll see the following:

    <span class="xr_tl Normal_text" style="top: 3px;font-family:Verdana, Geneva, sans-serif;">Some text here </span>
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •