HighDots Forums  

footer as a library item in template?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss footer as a library item in template? in the Macromedia Dreamweaver forum.



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

Default footer as a library item in template? - 07-20-2004 , 02:46 PM






Hello,

I am trying to build a site that would have a footer at the end of each page.
The site would be built using templates.
I have created my footer, made it as a library item and then I inserted it in
a layer in my template.
But how can I make sure it will go at the end of the page for each page
created with the template?
I guess this is all a matter of putting the right positioning on the layer? I
want it to always be at the end of the page, after all the content, and the
size of the content can be different. Does that make sense?

I'm sure I am missing something obvious.

Anybody can help me?
Thanks a lot!!!

Lucy


Reply With Quote
  #2  
Old   
CarlGrint
 
Posts: n/a

Default Re: footer as a library item in template? - 07-20-2004 , 03:21 PM






If you include a div with a css style which sets a 'clear' between the last div
on the page, and you footer, it will ensure the footer remains at the base of
the page, well, as long as your are not using Left/Right Top/Bottom coordinates
to lay it out, but simply divs themselves.

styles
.footeradjust
{
clear:both;
height:1px;
font-size:1px;
border:none;
margin:0;
padding:0;
background:transparent;
}

then add <div id= "footeradjust"></div>

Originally posted by: marieluce13
Hello,

I am trying to build a site that would have a footer at the end of each page.
The site would be built using templates.
I have created my footer, made it as a library item and then I inserted it in
a layer in my template.
But how can I make sure it will go at the end of the page for each page
created with the template?
I guess this is all a matter of putting the right positioning on the layer? I
want it to always be at the end of the page, after all the content, and the
size of the content can be different. Does that make sense?

I'm sure I am missing something obvious.

Anybody can help me?
Thanks a lot!!!

Lucy




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

Default Re: footer as a library item in template? - 07-20-2004 , 03:46 PM



Carl: thanks for your help.
This doesn't seem to work, and I'm sure it's because I am not understanding
this

Would somebody take a look at the page and the template and tell me what I
should change?

http://www.fais-ihs.org/NEW/Templates/template.dwt

Oh, and would someone know why my banner is not 100% of the width of the
window, when I set it to be 100%?

Sorry for being so clueless, and thank you so much in advance!

Lucy


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

Default Re: footer as a library item in template? - 07-20-2004 , 03:52 PM



If you are putting this Library item into a Template's non-editable region,
then there is no reason to use a Library item at all, since just putting the
code into the template will ensure it being updated.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================

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

Quote:
Hello,

I am trying to build a site that would have a footer at the end of each
page.
The site would be built using templates.
I have created my footer, made it as a library item and then I inserted
it in
a layer in my template.
But how can I make sure it will go at the end of the page for each page
created with the template?
I guess this is all a matter of putting the right positioning on the
layer? I
want it to always be at the end of the page, after all the content, and
the
size of the content can be different. Does that make sense?

I'm sure I am missing something obvious.

Anybody can help me?
Thanks a lot!!!

Lucy




Reply With Quote
  #5  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: footer as a library item in template? - 07-20-2004 , 04:22 PM



You have not set margins or padding on your body tag -

BODY {
FONT-WEIGHT: normal;
FONT-SIZE: 10px;
COLOR: #000000;
FONT-FAMILY: Arial, Helvetica, sans-serif;
LIST-STYLE-TYPE: square
margin:0;
padding:0;

}

You have style the footer with a custom class, but left it out of the code -

..footer {
BORDER-TOP: #330067 1px solid;
FONT-SIZE: 100%;
VERTICAL-ALIGN: middle;
FONT-FAMILY: Arial, Helvetica, sans-serif;
BORDER-RIGHT-STYLE: none;
BORDER-LEFT-STYLE: none;
POSITION: relative;
TEXT-ALIGN: center;
BORDER-BOTTOM-STYLE: none
}

You should change all such instances of .footer to #footer.

Unfortunately, Carl's recommendation just will not work when you have the
footer underneath AP divisions as you do. Since an AP division is removed
from the flow of the page's code, there is nothing on the page to push the
footer division down, so it is at the top of the page, underneath the
'layers'.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================

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

Quote:
Carl: thanks for your help.
This doesn't seem to work, and I'm sure it's because I am not
understanding
this

Would somebody take a look at the page and the template and tell me what
I
should change?

http://www.fais-ihs.org/NEW/Templates/template.dwt

Oh, and would someone know why my banner is not 100% of the width of the
window, when I set it to be 100%?

Sorry for being so clueless, and thank you so much in advance!

Lucy




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