Forum Moderators: not2easy
Seems like I can either just dump the css file inside some < style > tags, or add a < link > tag except everything I've read on this indicates those must happen inside the head tags. In this case I don't have access to the head tags (it's inside a CMS).
Should I just go with a regular css link tag, but within the body tags? Or is there a better way?
Things will work if you put the style tags in the body though... I just don't know how proper it is.
[edited by: Xapti at 7:06 am (utc) on May 16, 2007]
Is there a reason you can't put it in the <HEAD>?
Because it's CMS-driven, they will only probably have access to the content section.
Listen, there's not all that much wrong with having a
<style> element in the content, besides it not validating I believe. It will work. I've never tried using a <link /> for anything outside of <head>, but I have had to use a <style> outside of it, and it works fine :)
The CMS doesn't allow me to insert tags into the head section, and each of the many pages I'm inserting have their own page-specific css.
Does anyone know if the <link> tag will work outside the head tags? I'd rather do it that way than include the entire css file in the page so that spiders don't have to download it.