HighDots Forums  

CSS in templates in MX

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss CSS in templates in MX in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JonS
 
Posts: n/a

Default CSS in templates in MX - 07-14-2003 , 10:53 AM






In previous versions of DW I put links to CSS files within a template and
that worked with no problem. I'm discovering that in MX either:

1. If I put the link in an editable region it's gone when I look in a file
created by that template, or
2. If I put the link in a non-editable region, it appears and works within
the browser but DW doesn't see it when I look (from within DW) at a file
created with that template and DW insists there are no CSS styles defined.

Is there a setting somewhere that I'm missing, is this an "improvement" that
I don't understand, or what?

Thanks for any light you can shed on this.


JonS



Reply With Quote
  #2  
Old   
JonS
 
Posts: n/a

Default Re: CSS in templates in MX - 07-14-2003 , 11:17 AM






OK, that explains why adding the link after the fact didn't work -- makes
sense too.

But no, the CSS file is not in the Templates folder, it's in the root folder
and has always been, so that still leaves the question of why DW doesn't see
it although the browsers do.

JonS


"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote

Quote:
Jon:

1. If I put the link in an editable region it's gone when I look in a
file
created by that template, or

Changes to editable regions of Template pages are not propagated to
existing
child pages, but will appear in child pages spawned after making those
changes. This is one of the prime directives of Templates. It has always
been that way.

2. If I put the link in a non-editable region, it appears and works
within
the browser but DW doesn't see it when I look (from within DW) at a file
created with that template and DW insists there are no CSS styles
defined.

If the CSS file is *within* the Templates folder then this is a) a frank
operator error, and b) a good way to get broken links like you describe.
There should be nothing in the Templates folder except for the Templates
files.

DW insists there are no CSS styles defined.

If I have a stylesheet that contains only redefined tags, e.g.,

style
!--
td, tr, p, ul, li, input, select { .... }
--
/style>,

then DW will insist that there are no styles. And, it'd be right, too.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"JonS" <jspencerNOSPAM (AT) cyberartisans (DOT) com> wrote in message
news:beug6r$cie$1 (AT) forums (DOT) macromedia.com...
In previous versions of DW I put links to CSS files within a template
and
that worked with no problem. I'm discovering that in MX either:

1. If I put the link in an editable region it's gone when I look in a
file
created by that template, or
2. If I put the link in a non-editable region, it appears and works
within
the browser but DW doesn't see it when I look (from within DW) at a file
created with that template and DW insists there are no CSS styles
defined.

Is there a setting somewhere that I'm missing, is this an "improvement"
that
I don't understand, or what?

Thanks for any light you can shed on this.


JonS







Reply With Quote
  #3  
Old   
JonS
 
Posts: n/a

Default Re: CSS in templates in MX - 07-14-2003 , 11:19 AM



Quote:
url to a page that has this problem?
http://www.cyberartisans.com/cdmp/index.htm

The link is there (and works) in this page -- my problem is that when I look
at this page in DW, it doesn't see the link to the style sheet. The only
file in the Templates folder is the template. The .css file is in the root
folder.

JonS


"Alan Ames" <blu (AT) formdude (DOT) com> wrote

Quote:
url to a page that has this problem?

guessing- is the external.css file inside the Templates folder?
If so- move it outside the Templates folder.

DMX is much more fussy about only dw templates being in the Templates
folder- no images, no js files, no css files, no subfolders in the
Templates or Library folders.

In previous versions of DW I put links to CSS files within a template
and
that worked with no problem. I'm discovering that in MX either:

1. If I put the link in an editable region it's gone when I look in a
file
created by that template, or
2. If I put the link in a non-editable region, it appears and works
within
the browser but DW doesn't see it when I look (from within DW) at a file
created with that template and DW insists there are no CSS styles
defined.

Is there a setting somewhere that I'm missing, is this an "improvement"
that
I don't understand, or what?

Thanks for any light you can shed on this.


JonS



--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.