Hallo, bin gerade am umgestallten meiner Webseite und mußte feststellen, das meine CSS nicht mehr funktionieren... Genaugenommen, wenn ich sie als externe Datei lade (der Link funktioniert). Die Datei ist ----[ '/home_www/CONFIG_electronica.tamay-dogan.net/css/linuxchips.css' ]-- #h0 { background: lightgrey; } #t0 { font-style: normal; font-weight: bold; font-size: 12; font-family: "Helvetica", "sans-serif"; text-align: center; text-valign: top; width: 7%; } #t1 { font-style: normal; font-weight: bold; font-size: 12; font-family: "Helvetica", "sans-serif"; text-align: center; text-valign: top; width: 12%; } #t2 { font-style: normal; font-weight: bold; font-size: 12; font-family: "Helvetica", "sans-serif"; text-align: center; text-valign: top; width: 25%; } #t3 { font-style: normal; font-weight: bold; font-size: 12; font-family: "Helvetica", "sans-serif"; text-align: center; text-valign: top; width: 11%; } #t4 { font-style: normal; font-weight: bold; font-size: 12; font-family: "Helvetica", "sans-serif"; text-align: center; text-valign: top; width: 10%; } #t5 { font-style: normal; font-weight: bold; font-size: 12; font-family: "Helvetica", "sans-serif"; text-align: center; text-valign: top; width: 35%; } #c0 { font-style: normal; font-weight: medium; font-size: 12; font-family: "Helvetica", "sans-serif"; text-align: center; text-valign: top; width: 7%; } #c1 { font-style: normal; font-weight: medium; font-size: 12; font-family: "Helvetica", "sans-serif"; text-align: left; text-valign: top; width: 12%; } #c2 { font-style: normal; font-weight: medium; font-size: 12; font-family: "Helvetica", "sans-serif"; text-align: left; text-valign: top; width: 25%; } #c3 { font-style: normal; font-weight: medium; font-size: 12; font-family: "Helvetica", "sans-serif"; text-align: left; text-valign: top; width: 11%; } #c4 { font-style: normal; font-weight: medium; font-size: 12; font-family: "Helvetica", "sans-serif"; text-align: center; text-valign: top; width: 10%; } #c5 { font-style: normal; font-weight: medium; font-size: 12; font-family: "Helvetica", "sans-serif"; text-align: left; text-valign: top; width: 35%; } ------------------------------------------------------------------------ und der HTML code ist ----[ '/usr/share/tdphp-vserver/templates/template_01.inc' ]------------ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/html4/loose.dtd"> <HTML> <HEAD> <TITLE><?php if ($TITLE != '') { print( T_gettext($TITLE)); } if ($SUBTITLE != '') { printf("- %s", T_gettext($SUBTITLE)); } if ($EXTTITLE != '') { printf("- %s", T_gettext($EXTTITLE)); } ?></TITLE> <LINK rel="icon" type="image/ico" href="<?= $FAVICON ?>"> <?php if ($CSS != '') { ?> <LINK rel="stylesheet" type="text/css" href="<?= $CSS ?>"> <?php } ?> </HEAD> <snip> ------------------------------------------------------------------------ ----[ '/home_www/CONFIG_electronica.tamay-dogan.net/includes/20_linuxchips.inc' ]-- <FONT size="-1"> <TABLE width="<?= $LCHIPS_WIDTH ?>" border="<?= $LCHIPS_BORDER ?>" cellpadding="<?= $LCHIPS_CELLPADDING ?>" cellspacing="<?= $LCHIPS_CELLSPACING ?>" bgcolor="<?= $LCHIPS_BGCOLOR ?>" bordercolor="<?= $LCHIPS_BORDERCOLOR ?>"> <TR> <TD colspan="6" align="center"> <BR><FONT size="+3" color="blue"><B><I><?php print(T_gettext($SUBTITLE)); ?></I></B></FONT><BR> </TD> </TR> <TR id="h0"> <TD id="t0">Count</TD> <TD id="t1">µChip</TD> <TD id="t2">Manufacturer</TD> <TD id="t3">Linuxdriver</TD> <TD id="t4">Connect</TD> <TD id="t5">Description</TD> </TR> <?php exec("ls $DIR_LCHIPS/* |sort ", $LIST); $COUNT=1; foreach ($LIST as $DATA) { include $DATA; if ($VAL0 != '') { echo "<TR bgcolor=\"$VAL0\">\n"; } else { echo "<TR>\n"; } echo " <TD id=\"c0\">$COUNT</TD>\n"; echo " <TD id=\"c1\">$VAL1</TD>\n"; echo " <TD id=\"c2\">$VAL2</TD>\n"; echo " <TD id=\"c3\">$VAL3</TD>\n"; echo " <TD id=\"c4\">$VAL4</TD>\n"; echo " <TD id=\"c5\">$VAL5</TD>\n"; echo "</TR>\n"; $VAL0=""; $COUNT=$COUNT+1; } ?> </TABLE> </FONT> ------------------------------------------------------------------------ und die HTML Seite sieht dann so aus: ----[ url 'http://electronica.tamay-dogan.net/?what=linuxchips']-------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/html4/loose.dtd"> <HTML> <HEAD> <TITLE>electronica @ tdnet- Linux Supported µChips</TITLE> <LINK rel="icon" type="image/ico" href="/?what=favicon&where=g&name=32x32.favicon.tdnet.electronica.ico"> <LINK rel="stylesheet" type="text/css" href="/?what=css&where=h&name=linuxchips"> </HEAD> <BODY background="/?what=image§ion=backgrounds&name=0128x0128.background.001.jpg" bgcolor="lightgrey" text="black" link="darkgreen" alink="yellow" vlink="red"> <snip> <FONT size="-1"> <TABLE width="100%" border="5" cellpadding="" cellspacing="1" bgcolor="" bordercolor="blue"> <TR> <TD colspan="6" align="center"> <BR><FONT size="+3" color="blue"><B><I>Linux Supported µChips</I></B></FONT><BR> </TD> </TR> <TR id="h0"> <TD id="t0">Count</TD> <TD id="t1">µChip</TD> <TD id="t2">Manufacturer</TD> <TD id="t3">Linuxdriver</TD> <TD id="t4">Connect</TD> <TD id="t5">Description</TD> </TR> <TR> <TD id="c0">1</TD> <TD id="c1">8250</TD> <TD id="c2"></TD> <TD id="c3">8250</TD> <TD id="c4"></TD> <TD id="c5">8250/16550 Serial Port</TD> </TR> <snip> ------------------------------------------------------------------------ Wenn ich das CSS zeugs direkt in den <HEAD> hineinkopiere funktioniert alles Thanks, Greetings and nice Day/Evening Michelle Konzack Systemadministrator 24V Electronic Engineer Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 +49/177/9351947 50, rue de Soultz MSN LinuxMichi +33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature