Grow your CSS skills. Land your dream job.

font error

  • # September 23, 2012 at 10:59 am

    How to fix it?
    @font-face {
    font-family: ‘Myriad Pro';
    src: url(‘{T_THEME_PATH}/fonts/MyriadProRegular.otf’);
    font-weight: normal;
    font-style: normal;
    }

    ERROR: a
    4 Value Error : font-family (http://www.w3.org/TR/2011/REC-CSS2-20110607/fonts.html#propdef-font-family) Property font-family doesn't exist in CSS level 2.1 but exists in [css1, css2, css3] : ‘Myriad Pro’ a
    5 Property src doesn't exist : url(‘{T_THEME_PATH}/fonts/MyriadProRegular.otf’) a
    6 Value Error : font-weight (http://www.w3.org/TR/2011/REC-CSS2-20110607/fonts.html#propdef-font-weight) Property font-weight doesn't exist in CSS level 2.1 but exists in [css1, css2, css3] : normal a
    7 Value Error : font-style (http://www.w3.org/TR/2011/REC-CSS2-20110607/fonts.html#propdef-font-style) Property font-style doesn't exist in CSS level 2.1 but exists in [css1, css2, css3] : normal

    # September 23, 2012 at 11:07 am

    @nuodas159 I’m wondering why you ignored my previous advice on [this topic](http://css-tricks.com/forums/discussion/comment/77147/#Comment_77147)?

    You need to use Typekit or another web font distributor to use Myriad Pro.

    # September 23, 2012 at 11:17 am

    Can you tell me how to use with the Typekit?

    # September 23, 2012 at 11:18 am

    @nudoas159 Absolutely. Sign up and we’ll go from there.

    Note: You will need to purchase the Personal Plan at $24.99 to use it.

    or

    You can use http://webink.com and pay $20/year.

    # September 23, 2012 at 11:25 am

    mmm, thanks.

    Am, but why is this error:
    Property box-shadow doesn't exist in CSS level 2.1 but exists in [css3] : 1px 3px 8px #f1d0b5

    .inputbox {
    background: #fff;
    box-shadow: 0 3px 8px #f1d0b5;
    border: 2px solid #f36e00;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 2px;
    cursor: text;
    }

    # September 23, 2012 at 11:34 am

    You don’t need to worry about that error. Nothing is actually breaking.

    # September 23, 2012 at 11:36 am

    Am thanks what about these? :

    Property -webkit-border-radius doesn't exist : 5px

    Same colors for color and background-color in two contexts #navigation a:hover and #autoXML61886656188665

    # September 23, 2012 at 11:38 am

    The first one don’t worry about but make sure you’re also using “border-radius: 5px;” as well.

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;

    Not sure about the other.

    # September 23, 2012 at 12:59 pm

    there isin’t in css
    -o-border-radius: 5px; :/

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".