Antville Help
Freitag, 7. November 2003

Strange things going on with colors

Today I discovered that all of the titles in my weblog went black, but only with my Opera Browser. I made long research until I discovered, that in some of the CSS notations the "#" before a color is missing.

After changing the color in the preferences it was normal again, but then some others, namely the hover-link colors and the body background color started to loose their "#".

Here's an example. In the Source Code (as the browser shows it) of my weblog the body-notation in the CSS is this:

body, td {
   background-color: FFFFFF;
   font-family: Arial, Helvetica, sans-serif;
   font-size: 10pt;
   color: #000000;
}

The styleshheet-skin proofs that the colors are inserted from the preferences using a macro:

body, td { background-color: <% site.bgcolor %>; font-family: <% site.textfont %>; font-size: <% site.textsize %>; color: <% site.textcolor %>; }

But i am not able to enter the colors in the prefernces including a "#". So there must be a but somewhere. As sometimes this "#" gets lost.

The only way would be to write the colors to the stylesheet manually, but thats not the sense of the macros.

Sie sind nicht angemeldet