Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make 'background' an 'editable region' in a template?

Status
Not open for further replies.

lineofvision

Programmer
May 30, 2002
7
CA
How do you make the 'background' an 'editable region' in a template?

"Try and understand life as it parallels with your environment .. then we will truly start to grow"
 
Good question. I would like to know as well. I tried this before and couldnt figure it out. It just seemed easier for me at the time to just remove my background.

...I ended up liking the site better without it.
 
Just use a style sheet and apply that to each page

body {background-image: url(..url of image); }

or attach it in your template and it will automatically attach itself to each page that you create!

luds
 
oops... think I misread your original post!

Still CSS is the answer though... just embed the CSS in the <head> section of each page...

<style type=&quot;text/css&quot;>
<!--
body {background-image: url(..url of image); }
-->
</style>

luds
 
bjm027-
Thanks.. the page backgrounds look good.. would like to keep them.

luds-
I'll add the Style Sheet and see what happens... will let you know! Thanks

&quot;Understand life as it parallels your environment .. and things start to look up&quot;
 
the better way is to use the &quot;code view&quot; of the template. any portion that falls into these two tags are editable.
Code:
<!--Begin Editable-->
<!--End Editable-->

just put ur body tag between such tags. now u can modify ur body tag to ur heart's content...


Known is handfull, Unknown is worldfull
 
&quot;Make 'background' an 'editable region' in a template&quot;
= I agree w VBKris
.....what is the deal with CSS and images.....by defalut if u repleace the background image (by pasting another image with the same name and repleacing it- nothing to do with your code)....well u just edited the da** thing! :)
to make the &quot;code&quot; editable you must &quot;tag&quot; the sections of that same code.
luds showed u another trick....but even his tags need to be &quot;taged&quot; by <!--Begin Editable-->


OK? now, don't make me make your DW stuck in a Code View :) LOL
All the best!

> need more info?
:: don't click HERE ::
 
lebisol i forot to mention one thing though. u cannot remove/change <!--Begin Editable--> tag in dreamweaver. i had to do it using notepad...

Known is handfull, Unknown is worldfull
 
lol.. now there's a paradox.. an uneditable editable tag! lol
 
Its the region that is editable not the tag. If you want to add /change / remove the region tags you must do this to the template.

Cheech

[Peace][Pipe]
If you don't stand up for something, you'll fall down. Toke it Easy.
Howard Marks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top