Copy link to clipboard
Copied
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
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more