Shop-Hilfe.com
-


Hinweise


Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten
Alt 28.06.2004, 15:01   #1
TP-Newbie
 
Registriert seit: Jun 2004
romansvillage macht alles soweit korrekt
Unhappy

PHP und CSS


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?
romansvillage ist offline   Mit Zitat antworten


Alt 28.06.2004, 18:05   #2
TP-Supporter
 
Registriert seit: Sep 2003
Ort: Wien, Österreich
GodfatherDeluxe macht sich hier sehr viel Mühe
Zitat:
Zitat von romansvillage
PHP-Code:
tabletrtdth {
    
font-family$fontspecial;
    
font-size$fontsizespecial;

a:linka:visiteda:active {
    
color$link;
    
text-decorationnone

da fehlt die schließende klammer nach dem table, tr, td, th block
__________________
Java != JavaScript

"He who makes a beast of himself gets rid of the pain of being a man."
Dr. Johnson
GodfatherDeluxe ist offline   Mit Zitat antworten
Alt 28.06.2004, 20:39   #3
TP-Newbie
 
Registriert seit: Jun 2004
romansvillage macht alles soweit korrekt
hoppla. danke für den hinweis
romansvillage ist offline   Mit Zitat antworten
Antwort

  Aktuelles Thema
  TP Hilfe Forum > Web-Editoren & Coding > Traum-Dynamik
PHP und CSS PHP und CSS
« PHP Variable übergeben- HÜLFÄ! | [reg_ex] zeichenkette(n) aus einer seite herausfiltern »

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
[Anfänger] [Workshop] Formmailer mike Workshops und Tutorials 92 04.04.2008 14:32
Markenrecht - Wie schütze ich meinen Firmen- und Domainnamen adrian Recht & Co 4 07.06.2003 10:28


Alle Zeitangaben in WEZ +2. Es ist jetzt 09:04 Uhr.

Powered by: vBulletin Version 3.7 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. / Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Traum-Projekt.com | Suchen | Archiv | Impressum | Kontakt | | | Nach oben |



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67