This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2004 > Pulling from an Attached CSS





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 Pulling from an Attached CSS
gmoran webforumsuser@macromedia.com

2004-01-21, 7:29 pm

Does anyone know how to change CSS styles from an attached CSS sheet to make it embedded within the actual web page?

I'm working with pages within Dreamweaver and doing my formatting there, but they get entered into a LMS that uses its own CSS stylesheets to define the colours and such. What I'm needing to do is to have an external CSS stylesheet that I can pull various
styles from and have them embedded into each page I work on.

Any ideas?



Greg Moran
Web Developer
Royal Roads University
Murray *TMM*

2004-01-21, 7:29 pm

Copy and paste works for me, or are you thinking of something that would
happen runtime?

--
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.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"gmoran" <webforumsuser@macromedia.com> wrote in message
news:bun10a$fl3$1@forums.macromedia.com...
quote:

> Does anyone know how to change CSS styles from an attached CSS sheet to


make it embedded within the actual web page?
quote:

>
> I'm working with pages within Dreamweaver and doing my formatting there,


but they get entered into a LMS that uses its own CSS stylesheets to define
the colours and such. What I'm needing to do is to have an external CSS
stylesheet that I can pull various styles from and have them embedded into
each page I work on.
quote:

>
> Any ideas?
>
>
> Greg Moran
> Web Developer
> Royal Roads University




Josh

2004-01-21, 7:29 pm

Add a set of <style type="text/css"></style> tags into the head of each
document, then you can just copy and paste the styles from the external
sheet into the style tags in your head.

- Josh
Alan Ames

2004-01-21, 8:31 pm

could you clarify pls?

do you want to copy and embed from an existing stylesheet, and leave the
styles in?

or- do you just want Dw to display the doc with the styles the LMS will put
in later? Design time stylesheets would do this without altering the code
in the doc.

or- are you creating new styles?
If creating new ones- When you first start doing this- you have the option
to embed them instead of using an external file..

which version of dw?

quote:

> Does anyone know how to change CSS styles from an attached CSS sheet to make
> it embedded within the actual web page?
>
> I'm working with pages within Dreamweaver and doing my formatting there, but
> they get entered into a LMS that uses its own CSS stylesheets to define the
> colours and such. What I'm needing to do is to have an external CSS stylesheet
> that I can pull various styles from and have them embedded into each page I
> work on.
>
> Any ideas?
>
>
>
> Greg Moran
> Web Developer
> Royal Roads University



gmoran webforumsuser@macromedia.com

2004-02-03, 1:31 pm

Hi there, thanks for all the help.

What I'm trying to do is setup a template to use for pages that get entered into a LMS. I can't embed a single style sheet to a group of pages, because they get called up dynamically from the LMS system.

My thought was, if I had a template page which already had the CSS style set within it, I could use that page as my starting point for each page I develop. Copying and pasting definitely is an option, but I thought a template would be quicker as I'm creat
ing 100s of pages each week. (Well maybe not 100s, but surely a lot!)

You have given me a few ideas to look into with Design time templates, I'll see if that will prove helpful.

Cheers!




Greg Moran
Web Developer
Royal Roads University
Sponsored Links


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