Span footer

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

smartbusiness

Thread Starter
Joined
Jun 17, 2008
Messages
58
Hi

I am trying to span a strip of colour across the bottom of my webpage incorporating the footer module that is already there as seen in many of the new templates. I managed to do this with the Header but I can't seem to be able to do it with the bottom-footer. I believe it would probably be in CSS but I don't know how to write this code or where it should go.

I would appreciate some help if possible

Many thanks
Marion
 
Joined
Oct 15, 2006
Messages
211
Marion,

Generally, if you want a footer, you can put any footer code you already have inside a div tag with a class attribute. For example:

HTML:
<div class="footer"><p>Content goes Here</p></div>
Then you style your div however you like using the .footer selector in your stylesheet. For instance, you might want to add some background color, and a border like so:

Code:
.footer{
background:#ddf;
border:1px solid #888;
}
No need to post code unless you have a specific example you'd like help with. By the way, if you would like to share your code it's better to post it right here (for posterity's sake) than to post an external link. Do both if you like however. Nothing worse than doing a search on the web and finding an old post that's talking about code that's long since missing or changed because it wasn't posted right inside the forum.

Let me know if none of that makes sense.
 

DrP

Joined
Jul 23, 2005
Messages
739
By the way, if you would like to share your code it's better to post it right here (for posterity's sake) than to post an external link.
Depends how much there is! Personally I find it much easier to help when given a link.

Another way to add a footer would be to look at the HTML5 <footer> element.
 
Joined
Aug 12, 2007
Messages
696
Not sure the original poster is even reading these, but for anyone else reading, I agree with the last 2 posts that without seeing some actual code, preferably through a link, it's very difficult to provide any meaningful help.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top