• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 301
  • Last Modified:

refresh a CSS change in each page

I'm new to DreamWeaver.  I have about 30 html files that have a general theme and so I'm trying to use CSS.  I've gone to each page an right clicked on them and hit: CSS Styles->Attach Style Sheet.  I selected the same style sheet for all pages.  It seems when I make a change on the style sheet, it is not reflected on each of the HTML pages until I reload the CSS for the HTML page.  Is there any way to have all of the pages refresh t;he CSS so the change is relected in them?
  • 2
1 Solution
Jason C. LevineNo oneCommented:
Hi dwcronin,

I'm not sure what you mean by "reloading" the CSS file.  If the links in the HTML documents are relative, then anytime you make a change locally, it should reflect right away.

If the link to the CSS is a full URL, then DW is pulling the CSS file from the server and you will have to upload the CSS file to the server to see the changes.

Example of a relative link:

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

Example of a full URL linl:

<link href="http://www.yoursite.com/yourcss.css" rel="stylesheet" type="text/css">
dwcroninAuthor Commented:
I caught my error - it was a stupid one.  I was putting the CSS on each page and I just forgot to "SAVE ALL".  Dumb mistake, but they happen.  I thought that it was something I was doing wrong in DREAM WEAVER since I have only used it for two days.  Nope.
Jason C. LevineNo oneCommented:

Glad it works.

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now