[gelöst] neue Installation von 1.9.1 full, kein CSS

Hilfe zur Installation
Post Reply
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

[gelöst] neue Installation von 1.9.1 full, kein CSS

Post by nicmare »

Habe CMSms 1.9.1 frisch installiert und ein Template mit Stylesheet angelegt.
Das wird auch alles im Frontend geladen. Zumindest stimmt der CSS Link aber es wirkt sich nicht aus?
Ich stehe da gerade auf dem Schlauch.
Alles ist auch valide. Ich peils net
Last edited by nicmare on Fri Dec 03, 2010 4:18 pm, edited 1 time in total.
mike-r

Re: neue Installation von 1.9.1 full, kein CSS

Post by mike-r »

Könnte am header liegen, die Datei wird als text/html geschickt, sollte aber als text/css kommen.
Sehe ich gerade das erste Mal, dass das nicht funktioniert, normalerweise ignorieren afaik Browser solche Fehler.
Keine Ahnung, was da am System schiefläuft, Abhilfe könnte eine htaccess-regel bringen, die CSS als CSS ausliefert.

edit:

Code: Select all

AddType text/css .css
müsste das sein.
Last edited by mike-r on Fri Dec 03, 2010 1:06 pm, edited 1 time in total.
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: neue Installation von 1.9.1 full, kein CSS

Post by nicmare »

ja, mir ist aufgefallen dass wenn ich die seite lokal abspeicher (also statisch), das css via .html statt .css verlinkt wird. nun ist die frage wieso das so ist und wie man das behebt ;)

EDIT: die htaccess modifikation hats gebracht!! Danke
Post Reply

Return to “Installation und Einstellungen”