Skip to main content
JOMA Markus
Participant
July 11, 2020
Question

Vorlage - CSS Datei - template

  • July 11, 2020
  • 1 reply
  • 178 views

Hallo Zusammen,

 

ich habe in Dreamweaver für meine Webseite eine Vorlage erstellt.

Mit dieser Vorlage will ich meine Seiten erstellen.

Der editierbare Teil der Vorlage soll der Inhaltsbereich meiner Seite sein.

Soweit hat alles funktioniert.

 

Das Problem ist, dass der Eintrag im HTLM Kopf für die verlinkte CSS Datei nicht editierbar ist, wenn ich mit der Vorlage eine neue Seite anlege. Ich habe also immer die gleiche CSS Datei.

 

Was kann ich tun um für jede Seite eine eigene CSS Datei zu bekommen z.B. Kontakt.html und kontakt.css?

Gruß

Markus

    This topic has been closed for replies.

    1 reply

    BenPleysier
    Community Expert
    Community Expert
    July 11, 2020

    You can place the CSS files in an editable region as in https://helpx.adobe.com/au/dreamweaver/using/creating-editable-regions-templates.html

     

    Having said that, it is normal practice to have one CSS file that covers the website. That way you will only have one HTTP request while the CSS remains in the browser's cache.

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    JOMA Markus
    Participant
    July 11, 2020

    Thanks. I understand, that each page of my website I will have a common CSS file for the template part of the page and an extra CSS file for the individual page.