This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > April 2004 > Need help with Templates





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 Need help with Templates
aca_dia

2004-04-22, 5:30 pm

Is there anyway to change the background color of an individual page that is
connected to a template? In other words if I have 6 pages connected to a
single template can I edit the background color of each separately?

Francesca NY

2004-04-22, 5:30 pm

I just tried and it seems not.
Maybe some experts know of some extensions of workarounds.

Cesca
Jerry McEwen

2004-04-22, 5:30 pm

On Thu, 22 Apr 2004 15:13:11 +0000 (UTC), "aca_dia"
<webforumsuser@macromedia.com> wrote:

>Is there anyway to change the background color of an individual page that is
>connected to a template? In other words if I have 6 pages connected to a
>single template can I edit the background color of each separately?


You could copy the template (with a different name), change the colors
and link those pages to that template.
genuine airguitar

2004-04-22, 5:30 pm

Hi aca_dia

There are a few ways to do it, depending on how you've built the template.

You can either put a new on off style in the head of the page just for the
page background such as:

<style>
BODY {background-color: red;}
</style>

Or make the attribute in the body tag editable so you can just modify the
template properties. Look in the help files on dreamweaver about attributes and
will tell you how to do it.

Hope this helps

Murray *TMM*

2004-04-22, 5:30 pm

Of course you can. There are many ways, but here are two of the easiest.

Use a CSS redefinition of the body tag that is in the editable region in the
head, e.g.,

<!-- TemplateBeginEditable name="head" -->
<style type"text/css">
<!--

body { background-color: #FFF; }

-->
</style>
<!-- TemplateEndEditable -->

Or - make the bgcolor attribute of the template's body tag editable using
MODIFY | Templates > Make Attribute Editable (after selecting the body tag
on the TagSelector), and use a COLOR parameter type.

Or....

--
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
==================

"Francesca NY" <webforumsuser@macromedia.com> wrote in message
news:c68o0j$shi$1@forums.macromedia.com...
> I just tried and it seems not.
> Maybe some experts know of some extensions of workarounds.
>
> Cesca



Murray *TMM*

2004-04-22, 5:30 pm

Good grief, Jerry. Go to your room.... 8)

--
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
==================

"Jerry McEwen" <no_m@il.thanks> wrote in message
news:r1pf809reqnplki96mcln616b0c06er6ro@4ax.com...
> On Thu, 22 Apr 2004 15:13:11 +0000 (UTC), "aca_dia"
> <webforumsuser@macromedia.com> wrote:
>
is[color=darkred]
>
> You could copy the template (with a different name), change the colors
> and link those pages to that template.



Angel Massa

2004-04-22, 5:30 pm

Hi Cesca,

You can make any attribute additable in the template. Just select the BODY
tag in your template and select in the menu Modify >> Templates >> Make
attribute editable...

Regards,
Angel.

> I just tried and it seems not.
> Maybe some experts know of some extensions of workarounds.
>
> Cesca



Murray *TMM*

2004-04-22, 5:30 pm

Jerry:

There is not just *one* better way - there are a bazillion better ways! 8)

--
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
==================

"Jerry McEwen" <no_m@il.thanks> wrote in message
news:slpf805h89tp8ncvlaful6e86ue4o5va28@4ax.com...
> On Thu, 22 Apr 2004 11:29:20 -0400, "Murray *TMM*"
> <forums@HAHAgreat-web-sights.com> wrote:
>
>
> Hey, stop bugging me and go fix my PHP problem!
>
> I''m glad you replied to this, I always wondered if there was a better
> way.



aca_dia

2004-04-22, 5:32 pm

I figured that there had to be a simple solution for this. Thanks for the help.


Murray *TMM*

2004-04-22, 5:32 pm

Yep - it is simple indeed. You're welcome!

--
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
==================

"aca_dia" <webforumsuser@macromedia.com> wrote in message
news:c695ji$l8o$1@forums.macromedia.com...
> I figured that there had to be a simple solution for this. Thanks for the

help.
>
>



Sponsored Links


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