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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Templates 1

Status
Not open for further replies.

flasher

Technical User
Joined
Mar 4, 2002
Messages
245
Location
US
I was wondering if anyone can give me some advice on the topic of templates. I encounter this problem with practically every site I make: I want to create a page layout which will be consistent to all pages of the site. The issue is: the amount of content on each page varies! If it was just a top and bottom to the layout, I have no problem. I just create a template and make the center an editable region and then I can add as much content as I want to each page and the center region will stretch to accomodate the content. Problem is, what if I have a left and right border to this layout? As I add content, I will slowly leave the borders at the top of the page as the content extends downward. I need a way for the borders to extend with the content-WITHOUT RECREATING THE BORDERS FOR EACH PAGE!! Somebody suggested using css but I'm not so familiar with it and I was unsure how to do it.. Thanx in advance.
 
I tend to make my left/right borders just a plain border image and set their hieght to percentage The secret of life is honesty and fair dealing. If you can fake that, you've got it made.
Groucho Marx (1895-1977)
 
Do you mean that there's a way in Dreamweaver to make a "border image" and set the height...?

Also, once you tell me what this border image is-do you meant that you set the height percentage differently for each page? Thanx.
 
I tend to use a table to format my pages, something like below.


<table>
<tr>
<td colspan=3><img src=&quot;top_image.gif&quot;></td>
</tr>
<tr>
<td><img src=&quot;left_image.gif&quot; height=&quot;100%&quot;></td>
<td>all page content here</td>
<td><img src=&quot;right_image.gif&quot; height=&quot;100%&quot;></td>
</tr>
<tr>
<td colspan=3><img src=&quot;bot_image.gif&quot;></td>
</tr>
</table> The secret of life is honesty and fair dealing. If you can fake that, you've got it made.
Groucho Marx (1895-1977)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top