PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Graphisme & Infographie > macromedia.dreamweaver > DW MX issue: CSSs no longer attach to pages
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
DW MX issue: CSSs no longer attach to pages

Réponse
 
LinkBack Outils de la discussion
Vieux 10/06/2008, 22h21   #1
hshelly
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut DW MX issue: CSSs no longer attach to pages

Hi,
I'm running DW MX on a Windows XP, SP2 box. I'm using DW to create online
files, so I can't provide a URL; hopefully the following description will
suffice.

Here's the setup:

* DW templates (3 - Concept, Task, Reference) and CSS are on an internal drive

* content is modularized into different components that are part of an
open-source initiative. This content is in separate DW sites (CSS is copied to
the root of each site directory) and stored a repository along with the code.

* content is created as XHTML files so we can take advantage of final
output features.

* We would like to use the XHTML 1.0 Strict DTD, but it seems like when we
moved from Transitional to Strict, I started seeing the problem. (Of course, I
did some global finding/replacing, so who knows what I may have accidentally
found and replaced along the way?)

* The CSS file is linked into the content pages as an external file,
relative to the site root

The Problem
This setup was working fine, but late Friday after I dinked around with a few
things (like, say, trying to switch the DTD to XHTML Strict), I lost the
ability to attach the CSS to any pages, within any sites.

When I look in the <head> section, I can see the link to the CSS. If I strip
it out and re-attach the style sheet via the Dreamweaver menu commands, or by
typing it directly into Code View and save the file, the page once again looks
as if it's got a CSS attached to it...but when I go to apply a CSS style
(Text=>CSS Styles), None is selected. I can attach and re-attach the same CSS,
and it will be listed multiple times in the <head> and in the CSS Styles view,
but I cannot use it.

Any ideas on what went wrong?


I *know* this one is pilot error and appreciate any I can get.

Thanks!
HeatherTextText

  Réponse avec citation
Vieux 11/06/2008, 13h14   #2
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: DW MX issue: CSSs no longer attach to pages

Are all the files relevant to this page within the ROOT FOLDER defined in
the site definition?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"hshelly" <webforumsuser@macromedia.com> wrote in message
news:g2mr87$537$1@forums.macromedia.com...
> Hi,
> I'm running DW MX on a Windows XP, SP2 box. I'm using DW to create online
>
> files, so I can't provide a URL; hopefully the following description will
> suffice.
>
> Here's the setup:
>
> * DW templates (3 - Concept, Task, Reference) and CSS are on an internal
> drive
>
> * content is modularized into different components that are part of
> an
> open-source initiative. This content is in separate DW sites (CSS is
> copied to
> the root of each site directory) and stored a repository along with the
> code.
>
> * content is created as XHTML files so we can take advantage of
> final
> output features.
>
> * We would like to use the XHTML 1.0 Strict DTD, but it seems like when
> we
> moved from Transitional to Strict, I started seeing the problem. (Of
> course, I
> did some global finding/replacing, so who knows what I may have
> accidentally
> found and replaced along the way?)
>
> * The CSS file is linked into the content pages as an external file,
> relative to the site root
>
> The Problem
> This setup was working fine, but late Friday after I dinked around with a
> few
> things (like, say, trying to switch the DTD to XHTML Strict), I lost the
> ability to attach the CSS to any pages, within any sites.
>
> When I look in the <head> section, I can see the link to the CSS. If I
> strip
> it out and re-attach the style sheet via the Dreamweaver menu commands, or
> by
> typing it directly into Code View and save the file, the page once again
> looks
> as if it's got a CSS attached to it...but when I go to apply a CSS style
> (Text=>CSS Styles), None is selected. I can attach and re-attach the same
> CSS,
> and it will be listed multiple times in the <head> and in the CSS Styles
> view,
> but I cannot use it.
>
> Any ideas on what went wrong?
>
>
> I *know* this one is pilot error and appreciate any I can get.
>
> Thanks!
> HeatherTextText
>


  Réponse avec citation
Vieux 11/06/2008, 17h39   #3
hshelly
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: DW MX issue: CSSs no longer attach to pages

Hi Murray,
All of the relevant files are in the root for each site except for the
template files, which live elsewhere (on a shared drive). I'm now realizing the
"templates on a shared drive" approach was NOT the best place for them to
reside & will move them . It's been awhile since I've been in DW, so things are
coming back to me, slowly.
-- Heather


  Réponse avec citation
Vieux 11/06/2008, 17h51   #4
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: DW MX issue: CSSs no longer attach to pages

If by "template" you mean a DW *.dwt TEMPLATE, then this will definitely not
work. All templates used in a site MUST be in the Templates folder at the
root level of the site.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"hshelly" <webforumsuser@macromedia.com> wrote in message
news:g2ov3q$gr4$1@forums.macromedia.com...
> Hi Murray,
> All of the relevant files are in the root for each site except for the
> template files, which live elsewhere (on a shared drive). I'm now
> realizing the
> "templates on a shared drive" approach was NOT the best place for them to
> reside & will move them . It's been awhile since I've been in DW, so
> things are
> coming back to me, slowly.
> -- Heather
>
>


  Réponse avec citation
Vieux 11/06/2008, 18h43   #5
hshelly
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: DW MX issue: CSSs no longer attach to pages

Thank you so much for your , Murray. I could not see the forest for the
trees on this one...the more I tried to "fix" things, the deeper I dug this
hole. As I said earlier, I knew this one was pilot error; please feel free to
point and laugh. If you're ever in the Houston area, lunch/dinner is on me. --
Heather

  Réponse avec citation
Vieux 11/06/2008, 18h51   #6
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: DW MX issue: CSSs no longer attach to pages

Good luck, Heather! And thanks for the offer....

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"hshelly" <webforumsuser@macromedia.com> wrote in message
news:g2p2re$l45$1@forums.macromedia.com...
> Thank you so much for your , Murray. I could not see the forest for
> the
> trees on this one...the more I tried to "fix" things, the deeper I dug
> this
> hole. As I said earlier, I knew this one was pilot error; please feel free
> to
> point and laugh. If you're ever in the Houston area, lunch/dinner is on
> me. --
> Heather
>


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 18h34.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13113 seconds with 14 queries