Teraz, kiedy zacząłem stosować style w sekcji head, wyświetla się kod HTML, ale źle sformatowany. Nie jest uwzględniony żaden ze stylów.
Oto kod umieszczony w sekcji HEAD:
<style type="text/css"> body { background: #fff; font-family: "Tahoma", verdana, sans-serif; } #main { width: 900px; margin: 10px auto; } #main #header { background: transparent url('http://{!server.SERVER_NAME}/mail-templates/images/header_background.png') no-repeat; } #main #header img.logo { float: left; border: 0; } #main #header h1 { float: left; margin: 16px 15px; font-size: 14pt; color: #000; } #main #content { background: transparent; } #main #content hr { background: #ebebeb; width: 70%; margin: 5px 0; } </style>
Ktoś umie coś poradzić?
P.S. Mój skrypt zamienia ciąg {!server.SERVER_NAME} na wartość zmiennej $_SERVER['SERVER_NAME']/