HighDots Forums  

CSS editable region

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss CSS editable region in the Macromedia Dreamweaver forum.



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

Default CSS editable region - 08-19-2006 , 07:38 AM






Hello I would like to apply a CSS style to my editable region so that there is
padding around content inside e. region.
I have made a class style that i can apply each time I put something in an e.
region but surely there must be a way to give a style to the E.region so there
is padding within the region automatically.

Thank you,

Shontelle


Reply With Quote
  #2  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: CSS editable region - 08-19-2006 , 08:06 AM






I assume 'e. region' = 'editable region'?

An editable region is only an HTML comment. It's not a real page entity.
You would style the content of an editable region by styling the container
into which the editable region is placed, not the editable region itself.
Or you would style the elements you place INTO the editable region.

For example, if you have -

td.editable { colorrange; }

the all content placed in this <td> will be orange -

<td class="editable"></td>

Or if you have -

p.editable { colorrange; }

then this <p> tag will be orange -

<!-- InstanceBeginEditable name="whatever" --><p
class="editable">....</p><!-- InstanceEndEditable -->

--
Murray --- ICQ 71997575
Adobe Community Expert
(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
==================


"shonts" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hello I would like to apply a CSS style to my editable region so that
there is
padding around content inside e. region.
I have made a class style that i can apply each time I put something in
an e.
region but surely there must be a way to give a style to the E.region so
there
is padding within the region automatically.

Thank you,

Shontelle




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

Default Re: CSS editable region - 08-19-2006 , 10:47 AM



Hello Thanks for clarifying for me.

yes e.region = editable region (sorry typing like I sms very bad habit not to mention plain lazy)

Thanks again,

Shontelle:smile;

Reply With Quote
  #4  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: CSS editable region - 08-19-2006 , 10:52 AM



Good luck!

--
Murray --- ICQ 71997575
Adobe Community Expert
(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
==================


"shonts" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hello Thanks for clarifying for me.

yes e.region = editable region (sorry typing like I sms very bad habit not
to mention plain lazy)

Thanks again,

Shontelle:smile;



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 - 2008, Jelsoft Enterprises Ltd.