How do install CSS to my website

Discussion in 'Web Design and Development' started by letterkoning, Mar 25, 2010.

  1. letterkoning macrumors newbie

    Joined:
    Mar 25, 2010
    Location:
    Belgium
    #1
    Hey, some guy made a very nice website for me in dreamweaver with css. Now i want to edit some pages, but the css files are not linked. So when i do a browserpreview i only see text but not the css programmed. There are 3 different css files in a folder. The original folder is ok but i think the css files need to be linked. Does anybody know how to fix this problem?

    Thanks in Advance


    Philippe
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    Look for the link tags near the top. If you need further help we'll need to see the source code (the HTML).
     
  3. RobertD63 macrumors 6502

    Joined:
    Feb 17, 2008
    Location:
    A place
    #3
    Should look something like this:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Name removed</title>
    <link href="[B]CSSFileNameHere[/B].css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    	<div id="content">
    Also make sure the directory is pointing to the right area. If you have it in a specific CSS folder than make sure its something like css/stylesheet.css. Assuming the CSS folder is in the Root.
     

Share This Page