Skip navigation
h.song
Currently Being Moderated

Editable region within <style> </style>

Apr 11, 2012 3:48 PM

Tags: #editable_region

I tried to make an editable region inside <style> </style>, but it doesn't seem to work. Any help please?

 
Replies
  • Currently Being Moderated
    Apr 11, 2012 3:51 PM   in reply to h.song

    Can we see the code? What doesn't seem to work?  Are you getting an error message? What is happening?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 11, 2012 4:13 PM   in reply to h.song

    Are you attempting to make this change on your template, or on a child page?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 11, 2012 4:16 PM   in reply to h.song

    Insert editable region in the <head> of your Template.dwt file.  It will look something like this:

     

     

    <head>

    <!-- TemplateBeginEditable name="head" -->

    <style type="text/css">

    your embedded CSS styles here...

    </style>

    <!-- TemplateEndEditable -->

    </head>

     

     

     

     

    Nancy O.

    Alt-Web Design & Publishing

    Web | Graphics | Print | Media  Specialists 

    http://alt-web.com/

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 11, 2012 4:17 PM   in reply to h.song

    Why would you want to? You would benefit greatly from having the CSS styling as a separate file rather that embedded in each HTML file.

     

    If you really need it embedded, you need to wrap the whole <style> within an editable region.

     

    <head>

    <!-- TemplateBeginEditable name="style" -->

    <style type="text/css">

    body{}

    </style>

    <!-- TemplateEndEditable -->

    </head>

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points