- This topic is empty.
-
AuthorPosts
-
September 23, 2012 at 10:59 am #39973
nuodas159
ParticipantHow 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] : normalSeptember 23, 2012 at 11:07 am #110570chrisburton
Participant@nuodas159 I’m wondering why you ignored my previous advice on [this topic](https://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 #110613nuodas159
ParticipantCan you tell me how to use with the Typekit?
September 23, 2012 at 11:18 am #110614chrisburton
Participant@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 #110615nuodas159
Participantmmm, 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 #110616chrisburton
ParticipantYou don’t need to worry about that error. Nothing is actually breaking.
September 23, 2012 at 11:36 am #110617nuodas159
ParticipantAm 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 #110619chrisburton
ParticipantThe 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 #110624nuodas159
Participantthere isin’t in css
-o-border-radius: 5px; :/ -
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.