This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2004 > Applying style sheet to multiple files





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Applying style sheet to multiple files
D-Rocker

2004-08-10, 11:18 pm

I know how to attach a stylesheet, but is there a DW function that will apply a
style sheet to all files in a site (one easy step--or a couple steps)?

I guess it could be done with Find & Replace or by utilizing a template (from
the start), but if all the files are built without an ext CSS, is there a DW
function specifically designed to do this?

Thanks,
Darrell

Murray *TMM*

2004-08-10, 11:18 pm

No, but F&R is pretty simple....

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

"D-Rocker" <webforumsuser@macromedia.com> wrote in message
news:cfbq4k$rbv$1@forums.macromedia.com...
> I know how to attach a stylesheet, but is there a DW function that will

apply a
> style sheet to all files in a site (one easy step--or a couple steps)?
>
> I guess it could be done with Find & Replace or by utilizing a template

(from
> the start), but if all the files are built without an ext CSS, is there a

DW
> function specifically designed to do this?
>
> Thanks,
> Darrell
>



Alan

2004-08-10, 11:18 pm

take a look at using Find and replace-

Find-->Specific Tag <head>
Action insert <link blah blah src="/mycssfile.css"> before closing tag

if you use a site root relative path to the .css file, it will work on the
server in any folder level.

> I know how to attach a stylesheet, but is there a DW function that will apply
> a
> style sheet to all files in a site (one easy step--or a couple steps)?
>
> I guess it could be done with Find & Replace or by utilizing a template (from
> the start), but if all the files are built without an ext CSS, is there a DW
> function specifically designed to do this?
>
> Thanks,
> Darrell
>


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews