1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

font-family:

Discussion in 'Web Development & Web Hosting' started by Mitzs, Mar 20, 2008.

  1. Mitzs
    Honorary Member

    Mitzs Ducktape Goddess

    3,282
    73
    152
    If I am understand right quotes do not go in the css style sheet right?

    So I am wondering why they have me putting quotes around 2 of the font styles in my (css missing manual book on pg 65)?

     
    Certifications: Microcomputers and network specialist.
    WIP: Adobe DW, PS
  2. Notes_Bloke

    Notes_Bloke Terabyte Poster

    3,230
    54
    146
    Hi Mitzs,
    It may be because they have a space in the names.

    NB
     
    Certifications: 70-210, 70-215, A+,N+, Security+
    WIP: MCSA
  3. Sequeler

    Sequeler Bit Poster

    15
    0
    14
    Try to write like this - "arial-black" , "ceuntry-gothic" , "comic-sans" .

    Because the CSS doesn't support or handle the ("") quotes.
     
    WIP: CCNA
  4. Mitzs
    Honorary Member

    Mitzs Ducktape Goddess

    3,282
    73
    152


    That is what I thought, thats why I didn't understand why he was telling me to do it on my stylesheet and the book did not explain his reasoning either.
     
    Certifications: Microcomputers and network specialist.
    WIP: Adobe DW, PS
  5. Bluerinse
    Honorary Member

    Bluerinse Exabyte Poster

    8,871
    167
    256
    I think NB is correct here Mitzs, the quotes are because there is a space in the name.

    CSS does support quotes in this context..

    Check this link and look at the @font-face rule at the bottom, you will see the author doing the same thing..

    http://www.cssdog.com/css_at_rules.html

    PS the whole site is full of useful info. check it out.
     
    Certifications: C&G Electronics - MCSA (W2K) MCSE (W2K)
  6. Mitzs
    Honorary Member

    Mitzs Ducktape Goddess

    3,282
    73
    152
    Thanks blue, and I wrote down nb information in my book, just in case I need it in the furture for anything. Thanks for the link. It is actually one site I have not found in my google searches.
     
    Certifications: Microcomputers and network specialist.
    WIP: Adobe DW, PS
  7. ThomasMc

    ThomasMc Gigabyte Poster

    1,507
    49
    111
    yip NB and Blue are right on the money, Taken from w3Schools

     
    Certifications: MCDST|FtOCC
    WIP: MCSA(70-270|70-290|70-291)
  8. Mitzs
    Honorary Member

    Mitzs Ducktape Goddess

    3,282
    73
    152
    Yes, you guys are right. He tell us in chapter 6 that the quotes are for words with spaces in them. Would have been nice if he would have told us that as we were doing it!:dry
     
    Certifications: Microcomputers and network specialist.
    WIP: Adobe DW, PS
  9. Bluerinse
    Honorary Member

    Bluerinse Exabyte Poster

    8,871
    167
    256
    Yes, that would have been the common sense way to teach it Mitzs but where is the fun in that? :)
     
    Certifications: C&G Electronics - MCSA (W2K) MCSE (W2K)

Share This Page

Loading...