[opencms-dev] CSS files NOT applying to html files

pat sad hlp.psaad at gmail.com
Mon Sep 26 16:28:36 CEST 2005


Hy everyone,

For some reason, CSS files do not seem to be handled very well with openCMS

I created a css file that I included in my system/modules/../resources/
which includes parameters such as:

body,html {
SCROLLBAR-ARROW-COLOR: white;
SCROLLBAR-BASE-COLOR: silver;
SCROLLBAR-DARK-COLOR: gray;
SCROLLBAR-TRACK-COLOR: F4CB00;
SCROLLBAR-FACE-COLOR: orange;
SCROLLBAR-SHADOW-COLOR: silver;
SCROLLBAR-HIGHLIGHT-COLOR: white;
SCROLLBAR-3D-LIGHT-COLOR: F4CB00;
}

.SIDE A:hover{text-decoration: none; color:orange;}
.SIDE A:link {text-decoration: none; color: gray;}
.SIDE A:visited {text-decoration: none; color: gray;}
.SIDE A:active {text-decoration: none; color: gray;}

.CLASS1 {font-size:11px; font-family:Verdana, Arial, Helvetica, sans-serif;}
...

It works for the body tag, it recognizes the function but it doesn't
seem to recognize <SPAN> tags like <span class="side"> ... </span> in
my html file.

When I view the html file in openCMS it doesn't apply the CSS for
anything else than the body tag, its as if it is beeing ignored or
something.

Is there a reason for it to not function properly in opencms ?



More information about the opencms-dev mailing list