SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Wizard Another Designer's Avatar
    Join Date
    May 2005
    Posts
    1,370
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Css WON'T attach!!

    This is really frustrating.
    I am desinging in Dreamwewaver CS3. I created an external style sheet and put it in its only css folder. I followed the directions to attach the CSS to the main HTML page but it does NOT attach.

    Any suggestions?

    Here is the CSS link.
    HTML Code:
    </title>
    
    <link href="cssfiles/styleone.css" rel="stylesheet" type="text/css" />

  2. #2
    SitePoint Wizard bronze trophy Black Max's Avatar
    Join Date
    Apr 2007
    Posts
    4,029
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    It might be a folder organization issue, though I don't have any clue as to how you've organized your stuffs. Try

    Code "HTML 4.01 Strict:
    <link href="../cssfiles/styleone.css" rel="stylesheet" type="text/css" />

    Just a shot in the dark.

  3. #3
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,623
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hi, go to the directory where this file is kept. Do you see the folder "cssfiles"? If not, then that's your problem

    If you do see it, then go inside. Do you see hte file called styleone.css?

    If all else fails give it an absolute URL to the stylesheet..or better yet, give us the link to the page (and then the link to the stylseheet) and we will tell u where you went wrong
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  4. #4
    SitePoint Wizard Blake Tallos's Avatar
    Join Date
    Jun 2008
    Location
    Cuyahoga Falls, Ohio.
    Posts
    1,510
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Another Designer View Post
    This is really frustrating.
    I am desinging in Dreamwewaver CS3. I created an external style sheet and put it in its only css folder. I followed the directions to attach the CSS to the main HTML page but it does NOT attach.

    Any suggestions?

    Here is the CSS link.
    HTML Code:
    </title>
    
    <link href="cssfiles/styleone.css" rel="stylesheet" type="text/css" />
    Well, this is your problem right here !---->I am desinging in Dreamwewaver CS3.
    Code HTML4Strict:
    <link href="index.css" rel="stylesheet" type="text/css">
    Blake Tallos - Software Engineer for Sanctuary
    Software Studio, Inc. C# - Fanatic!
    http://www.sancsoft.com/


  5. #5
    SitePoint Wizard Another Designer's Avatar
    Join Date
    May 2005
    Posts
    1,370
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks everyone! Seems it was attaching. I just was not giving a class to each element in the HTML page. I have a lot to learn with CSS. I will get there.

  6. #6
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Another Designer View Post
    Thanks everyone! Seems it was attaching. I just was not giving a class to each element in the HTML page. I have a lot to learn with CSS. I will get there.
    http://cssbasics.com/

  7. #7
    SitePoint Wizard Another Designer's Avatar
    Join Date
    May 2005
    Posts
    1,370
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by BPartch View Post

    Thank you for the link!

  8. #8
    Follow: @AlexDawsonUK silver trophybronze trophy AlexDawson's Avatar
    Join Date
    Feb 2009
    Location
    England, UK
    Posts
    8,111
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    This website has a useful guide to CSS too:

    http://en.wikibooks.org/wiki/Cascadi.../Print_version

    It's run by the people who did Wikipedia, there's HTML and JS ones at Wikibooks too!


Tags for this Thread

Bookmarks

Posting Permissions

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