Dear Flexicontent friends,
I have a table in category view for which I use an stylesheet
Code:
<link media="print, projection, screen" type="text/css" href="components/com_flexicontent/assets/xxxxx.css" rel="stylesheet" />
so this way I can use an external stylesheet, and I can choose the layout I want for the tables of each separate category. Now the problem I'm having is html validation, the code belongs in the <head> tag.
I've been trying to find the right place to put it for so long, but I can't seem to succeed.
Can anyone help me by telling me where the <head> is for the category view?
I tried adding it in the index.html <head> but it didn't work.
And I can't use it in my templates head tag cause I use different versions depending on the table and the layout I want for it.
This is the error im getting when I validate the html:
document type does not allow element "link" here
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Thanks in advance