Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Dec 2007
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CSS with sub domains.

    For some reason when I set my sub domain to my /forums as the home directory my CSS won't load. Any suggestions?

  • #2
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    And how on yours it should be loaded? http://forum.site.com/../style.css

    You should use an absolute path
    <link type="text/css" rel="stylesheet" href="http://site.com/style.css" />
    instead of
    <link type="text/css" rel="stylesheet" href="style.css" />

    Last edited by Obfuscator; 12-13-2007 at 12:20 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •