HTML Stylesheet Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dusen
    Confirmed User
    • Aug 2002
    • 2251

    #1

    HTML Stylesheet Help

    I can't seem to get linking to stylesheets working. Can anyone lend a hand?

    <LINK REL=StyleSheet HREF="./stylesheets/sitesyle.css" TITLE="BlueDesign" TYPE="text/css">

    should work by my research - it is almost exactly here:

    http://www.htmlhelp.com/reference/html40/head/link.html

    I've even tried

    <LINK REL=StyleSheet HREF="http://www.domain.com/stylesheets/sitesyle.css" TITLE="BlueDesign" TYPE="text/css">

    Is there anything that needs to be in htaccess?

    I DO have apache parsing all HTML pages. Would that affect it? I'm lost.
    Penis Pill Sponsor List and Reviews:
    http://www.pillsponsors.com
  • Fabuleux
    Confirmed User
    • May 2003
    • 2543

    #2
    <link href="style.css" rel="stylesheet" type="text/css">

    Comment

    • Dusen
      Confirmed User
      • Aug 2002
      • 2251

      #3
      Yes, that is bascially what I posted. It's really strange - are there any other requirements here? If I put everything in a <style> tag it looks fine, but as soon as I use that link things muss up.

      In fact, sometimes if I reload the browser I can see the page appear correct for a split second before it flashes to the non-style page using the link method. Is thatbecause it's choosing another style or something as default? I read that using "Stylesheet" makes it the "preferred"

      Is there compatibility issues with this LINK command? I'm just doing it so the spiders can get to my site content sooner - and changing the style of one css will change the whole site easier as well.

      I mean, without this stylesheet formatting the site looks like shit and won't sell anything. So this is important, no matter how ignorant I am about it.
      Penis Pill Sponsor List and Reviews:
      http://www.pillsponsors.com

      Comment

      Working...