Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Dreamweaver MX vs 8

Posted on 2006-11-10
8
982 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 Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Center Table on Web Page 6 389
Rotating Adobe pdf document 4 320
Best way to make existing site mobile 5 138
Adobe Acrobat Pro top display text upside down? 5 141
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

840 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