PSD-Tutorials.de
Forum für Design, Fotografie & Bildbearbeitung
Tutkit
Agentur
Hilfe
Kontakt
Start
Forum
Aktuelles
Besonderer Inhalt
Foren durchsuchen
Tutorials
News
Anmelden
Kostenlos registrieren
Aktuelles
Suche
Suche
Nur Titel durchsuchen
Von:
Menü
Anmelden
Kostenlos registrieren
App installieren
Installieren
JavaScript ist deaktiviert. Für eine bessere Darstellung aktiviere bitte JavaScript in deinem Browser, bevor du fortfährst.
Du verwendest einen veralteten Browser. Es ist möglich, dass diese oder andere Websites nicht korrekt angezeigt werden.
Du solltest ein Upgrade durchführen oder einen
alternativen Browser
verwenden.
Antworten auf deine Fragen:
Neues Thema erstellen
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
Benötige Hilfe finde Fehler nicht CSS & Webfonts
Beitrag
<blockquote data-quote="jackprince" data-source="post: 1763921" data-attributes="member: 108135"><p><strong>AW: Benötige Hilfe finde Fehler nicht CSS & Webfonts</strong></p><p></p><p>Kannst du mir mal ne zip fertig machen?</p><p>Ich schau mal woran das liegt.</p><p></p><p><em><strong>Was mich allerdings noch verwirrt ...</strong></em></p><p></p><p>Ich sehe oben in deiner CSS ...</p><p></p><p>[HTML]</p><p>p @font-face {</p><p> font-family: 'LarchmontCondensedRegular';</p><p> src: url('Larchmont_Condensed_OT-webfont.eot');</p><p> src: url('Larchmont_Condensed_OT-webfont.eot?iefix') format('eot'),</p><p> url('Larchmont_Condensed_OT-webfont.woff') format('woff'),</p><p> url('Larchmont_Condensed_OT-webfont.ttf') format('truetype'),</p><p> url('Larchmont_Condensed_OT-webfont.svg#webfontsBBHZXeF') format('svg');</p><p> font-weight: normal;</p><p> font-style: normal;</p><p>}</p><p></p><p>bzw.:</p><p></p><p>code</p><p>{</p><p>@font-face {</p><p> font-family: 'NeuropoliticalRegular';</p><p> src: url('neuropolitical_rg-webfont.eot');</p><p> src: url('neuropolitical_rg-webfont.eot?iefix') format('eot'),</p><p> url('neuropolitical_rg-webfont.woff') format('woff'),</p><p> url('neuropolitical_rg-webfont.ttf') format('truetype'),</p><p> url('neuropolitical_rg-webfont.svg#webfontC2kThX9x') format('svg');</p><p> font-weight: normal;</p><p> font-style: normal;</p><p>}</p><p>} </p><p>[/HTML]Was ist das bzw. soll das? </p><p></p><p>Richtig wäre z.B.:</p><p></p><p>[HTML]</p><p>@fontface {</p><p> font-family: 'LarchmontCondensedRegular';</p><p> src: url('Larchmont_Condensed_OT-webfont.eot') format('eot'),</p><p> src: local("☺"),</p><p> url('Larchmont_Condensed_OT-webfont.woff') format('woff'),</p><p> url('Larchmont_Condensed_OT-webfont.ttf') format('truetype'),</p><p> url('Larchmont_Condensed_OT-webfont.svg#webfontsBBHZXeF') format('svg');</p><p>}</p><p></p><p>code {</p><p> font-family: 'LarchmontCondensedRegula';</p><p> color: #f00;</p><p> font-size: 1.4em;</p><p> background: #fff;</p><p> line-height: 1.6em;</p><p> }</p><p>[/HTML]</p><p></p><p>Schau dir das vielleicht nochmal an. Ums deutlich zu sagen, der Font wird nicht am Element definiert sondern seperat. Am Element wird der dann nur "genutzt".</p></blockquote><p></p>
[QUOTE="jackprince, post: 1763921, member: 108135"] [b]AW: Benötige Hilfe finde Fehler nicht CSS & Webfonts[/b] Kannst du mir mal ne zip fertig machen? Ich schau mal woran das liegt. [I][B]Was mich allerdings noch verwirrt ...[/B][/I] Ich sehe oben in deiner CSS ... [HTML] p @font-face { font-family: 'LarchmontCondensedRegular'; src: url('Larchmont_Condensed_OT-webfont.eot'); src: url('Larchmont_Condensed_OT-webfont.eot?iefix') format('eot'), url('Larchmont_Condensed_OT-webfont.woff') format('woff'), url('Larchmont_Condensed_OT-webfont.ttf') format('truetype'), url('Larchmont_Condensed_OT-webfont.svg#webfontsBBHZXeF') format('svg'); font-weight: normal; font-style: normal; } bzw.: code { @font-face { font-family: 'NeuropoliticalRegular'; src: url('neuropolitical_rg-webfont.eot'); src: url('neuropolitical_rg-webfont.eot?iefix') format('eot'), url('neuropolitical_rg-webfont.woff') format('woff'), url('neuropolitical_rg-webfont.ttf') format('truetype'), url('neuropolitical_rg-webfont.svg#webfontC2kThX9x') format('svg'); font-weight: normal; font-style: normal; } } [/HTML]Was ist das bzw. soll das? Richtig wäre z.B.: [HTML] @fontface { font-family: 'LarchmontCondensedRegular'; src: url('Larchmont_Condensed_OT-webfont.eot') format('eot'), src: local("☺"), url('Larchmont_Condensed_OT-webfont.woff') format('woff'), url('Larchmont_Condensed_OT-webfont.ttf') format('truetype'), url('Larchmont_Condensed_OT-webfont.svg#webfontsBBHZXeF') format('svg'); } code { font-family: 'LarchmontCondensedRegula'; color: #f00; font-size: 1.4em; background: #fff; line-height: 1.6em; } [/HTML] Schau dir das vielleicht nochmal an. Ums deutlich zu sagen, der Font wird nicht am Element definiert sondern seperat. Am Element wird der dann nur "genutzt". [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Wenn ▲ = 7, ▼ = 3, ◇ = 2 und die Summe von ▲ und ▼ durch ◇ geteilt wird, was ist das Ergebnis?
Antworten
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
Benötige Hilfe finde Fehler nicht CSS & Webfonts
Oben