|
|||
Schrift wird nicht aus css übernommen
Hallo,
wenn ich z.B. zwei neue Sites (A und B) erstelle aus der unten angehängten Vorlage sieht zu nächst alles gut aus. Anschließend verlinke ich A mit B. Wenn ich nun A im IE anzeige und auf den Link zu B klicke wird B so dargestellt als hätte B nicht das CSS (Schrifttyp) übernommen. Beide getrennt betrachtet sehen sie gut aus Hat jemand einen Tipp? HTML der Vorlage: Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>:: japday.com by Christian Burkhardt ::</title> <meta name="description" content="Seitenbeschreibung in zwei Saetzen."> <meta name="keywords" content="Stichwort 1, Stichwort 2, usw."> <meta name="DC.Publisher" content="Name"> <meta name="DC.Date" content="2001-08-01T012:00+01:00"> <meta name="DC.Language" content="de"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" type="text/css" href="master.css"> </head> <body text="DCDEF2" link="#F0E59E" vlink="#C7B767" alink="#dec3a9"> <a name="top"> </a> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td rowspan="5" valign="top"> <div align="left"></div></td> <td valign="top" colspan="5"></td> </tr> <tr> . . . </tr> </table> </body> </html> Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>:: japday.com by Christian Burkhardt ::</title> <meta name="description" content="Seitenbeschreibung in zwei Saetzen."> <meta name="keywords" content="Stichwort 1, Stichwort 2, usw."> <meta name="DC.Publisher" content="Name> <meta name="DC.Date" content="2001-08-01T012:00+01:00"> <meta name="DC.Language" content="de"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="/templates/master.css" rel="stylesheet" type="text/css"> </head> <body text="DCDEF2" link="#F0E59E" vlink="#C7B767" alink="#dec3a9"> <a name="top"> </a> <table border="0" cellspacing="0" cellpadding="0" width="100%"> . . . <td colspan="6" valign="top">[img]file:///D|/Webs/japday/blue_table/images/transp.gif[/img]</td> </tr> </table> </body> </html> CSS Code:
body,table,td,tr,div,p,pre,h1,h2,h3,h4,ul {font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;} body,td,div,p,pre,ul {font-size: 13px;} h1 {font-size: 18px;} h2 {font-size: 16px;} h3 {font-size: 13px;} .small {font-size: 12px;} .mini {font-size: 11px;} .minimini {font-size: 10px;} a {font-size: 13px; text-decoration: none; font-weight : bold;} a:link {color:#F0E59E} a:visited {color:#C7B767} a:active {color:#DEC3A9} a:hover{color: #ffffff;}
__________________
cu trinix |
Sponsored Links |
|
|||
allso, als erstes würde ich den pfad überprüfen!
Beim erste code rufst du das CSS als "master.css" auf und beim zweiten im ordner "/templates/"... Zitat:
|
Sponsored Links |
|
|||
Hallo,
das Problem hat sich gelöst. es war ein Problem mit der Bennenung des Ordners Templates. Leider befand sich auch noch das css in diesem Ordner und das machte einige Probleme. cu trinix
__________________
cu trinix |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
CSS Reset, clearfix, hacks usw, Browsersupport | Electrix | CSS | 3 | 12.04.2014 09:49 |
Hintergrundfarbe von Schrift mit CSS | derbjoern | CSS | 3 | 18.03.2014 23:48 |
Ich hasse CSS... | neu-art.de | Offtopic | 24 | 30.08.2008 13:11 |
Mit css Button und Schrift vertikal-mittig setzen | loisl | CSS | 2 | 29.08.2008 01:23 |
Schrift pixelig bei grossen Schriftgrössen CSS | Beb | CSS | 5 | 19.06.2005 19:46 |