Skip to main content
Participant
January 25, 2017
Answered

What can I do to reckognise the basic.css file?

  • January 25, 2017
  • 2 replies
  • 246 views

I'm working with the Adobe Dreamweaver CS6. From Site > New Site I've set the Local Site Folder to

C:\Progress\beginning_css3_master\beg-css3-master\

My css file is at the following path:

C:\Progress\beginning_css3_master\beg-css3-master\44738_ch02_files\ch02\begin\css\basic.css

I've attached the basic.css style sheet by adding the following <link> tag just before the closing </head> tag in basic.html:

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>Basic CSS Selectors</title>

<link href="css/basic.css" type="text/css" "rel=stylesheet">

</head>

But the basic.css styles doesn't affect the HTML markup.

My desire is to keep he following path, but anyway what can I do to reckognise the basic.css file?

C:\Progress\beginning_css3_master\beg-css3-master\44738_ch02_files\ch02\begin\css\basic.css

This topic has been closed for replies.
Correct answer pziecina

Replace -

<link href="css/basic.css" type="text/css" "rel=stylesheet">

with

<link href="C:\Progress\beginning_css3_master\beg-css3-master\44738_ch02_files\ch02\begin\css\basic.css" type="text/css" "rel=stylesheet">

Whilst this may work, you should really define a site in Dw, and let Dw handle the file paths correctly, as it would do if you where creating an actual site.

2 replies

Nancy OShea
Community Expert
Community Expert
January 25, 2017

Your files paths are very complicated. Did you do this intentionally or was this obtained from a 3rd party?

I like to keep my sites organized very simply.

Site:  SiteName:  (C:\SiteName\)

    > images/

    > scripts/

    > styles/

     index.html

     about.html

     projects.html

     services.html

Nancy

Nancy O'Shea— Product User & Community Expert
pziecina
pziecinaCorrect answer
Legend
January 25, 2017

Replace -

<link href="css/basic.css" type="text/css" "rel=stylesheet">

with

<link href="C:\Progress\beginning_css3_master\beg-css3-master\44738_ch02_files\ch02\begin\css\basic.css" type="text/css" "rel=stylesheet">

Whilst this may work, you should really define a site in Dw, and let Dw handle the file paths correctly, as it would do if you where creating an actual site.