Style sheets in modules
Posted: Mon Dec 17, 2007 7:38 pm
Hello,
Is there a way to link to style sheets in modules? As far as I'm aware a link tag has to be put in the head section, but I'm not aware of any way of doing this in modules.
I've seen one module that used link tags within the body, but that's not actually valid XHTML. Link tags are only meant to be in the head section.
So far for the module I'm working on I've done a very crude hack by simply putting the link tag in the site's template, but that's not a particularly desirable way of doing things for obvious reasons.
Using the style attribute isn't practical in this situation.
Thanks,
Mark.
Is there a way to link to style sheets in modules? As far as I'm aware a link tag has to be put in the head section, but I'm not aware of any way of doing this in modules.
I've seen one module that used link tags within the body, but that's not actually valid XHTML. Link tags are only meant to be in the head section.
So far for the module I'm working on I've done a very crude hack by simply putting the link tag in the site's template, but that's not a particularly desirable way of doing things for obvious reasons.
Using the style attribute isn't practical in this situation.
Thanks,
Mark.