Solved

Dreamweaver MX vs 8

Posted on 2006-11-10
8
978 Views
Last Modified: 2012-05-05
I just installed Dreamweaver 8 onto my computer and opened up sites that were created in Dreamweaver MX 2002.  The site looks fine until I preview it in a web browser.  When I preview it in a web browser the CSS file is not applied.  

Does anyone know how can I fix this?
0
Comment
Question by:sensi12002
8 Comments
 
LVL 7

Expert Comment

by:MHenry
ID: 17919573
sensi12002,

Try relinking the CSS stylesheet. In the Properties tab, click the Styles dropdown. At the bottom is a choice for attach style sheet.

Give that a shot.

Best,
MH
0
 
LVL 3

Expert Comment

by:judsonmusic
ID: 17923582
open the style sheet and resave it in 8

do the same for the pages.

make sure that the style sheet is linked. you may want to re-link them.
0
 
LVL 6

Accepted Solution

by:
Fahdmurtaza earned 125 total points
ID: 17962863
Check whether the stylesheet code is missing or just the path for stylesheet is invalid. If the path is invalid, correct once and for the rest of the pages, use CTRL + F to search and replace the wrong path of stylesheet throughout the opened site. This will save you alot of time. This is what I always use; a great time saver.

Regards,
Fahd Murtaza
0
 

Author Comment

by:sensi12002
ID: 17968008
This is what I did to fix it.

I changed this:
<link href="/custom.css" rel="stylesheet" type="text/css">

to this:
<link href="../custom.css" rel="stylesheet" type="text/css">

It would be great if someone will shed some light on what the difference is.
0
 
LVL 7

Assisted Solution

by:MHenry
MHenry earned 125 total points
ID: 17968077
Fahdmurtaza nailed it. You needed to change the path. Of course, all comments talked about relinking the style sheet and if you would have done that, the path would have taken care of itself.

What you're seeing is relative path type of linking. Another method is abdolute path. You can do a search for relative path to find out more but the basics are below:

If the stylesheet is in the same directory as the pages, you would have this: <link href="custom.css" rel="stylesheet" type="text/css">
If the sylesheet is in a subdirectory you would have this : <link href="FOLDER/custom.css" rel="stylesheet" type="text/css">
If the pages are in a subfolder and the stylesheet is above you would have this: <link href="../custom.css" rel="stylesheet" type="text/css">

Best,
MH
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now