Ich habe CSS mithilfe von PHP in meine Seite eingebunden:
PHP-Code:
<?php
echo "
<style type=\"text/css\">
<!--
input, textarea {
border: 1px $borderspecial solid;
font-family: $fontspecial;
font-size: $fontsizespecial;
color: $textspecial;
background-color: $bgspecial;
}
submit {
border: 1px $boarderspecial solid;
font-family: $fontspecial;
font-size: $fontsizespecial;
color: $textspecial;
background-color: $bgspecial;
}
table, tr, td, th {
font-family: $fontspecial;
font-size: $fontsizespecial;
a:link, a:visited, a:active {
color: $link;
text-decoration: none
}
a:hover {
color : $hlink;
text-decoration : underline;
}
.css {
position: absolute; visibility: hidden; z-index: 100
}
-->
</style>";
?>
Die Variablen sind in einer Konfigurationsdatei definiert, die auch eingebunden wurde.
Es funktioniert eigentlich auch ausser die Links werden immer noch so angezeigt als hätte ich überhaupt kein CSS eingebunden.
Könt ihr mir Helfen?
