Solved

Footer html?

Posted on 2003-10-22
2
217 Views
Last Modified: 2010-04-09
Hello,

I can't seem to figure out the html or html/css to make a really simple footer.
I want a few words aligned to the left, and a few words aligned to the right, but I want all the words on the same line, underneath a thin horizontal rule.

I also want the words and the line to be the color #CCCCC, and the font-size to be adjustable, preferably smaller than the normal font on the page (which is 10 point).  If it has to be hard-coded to 8 that's livable.

Thanks for any help,

v

0
Comment
Question by:vlg
2 Comments
 
LVL 17

Accepted Solution

by:
dorward earned 350 total points
ID: 9601624
<div style="border-top: solid black 1px; color: #ccc;">
<div style="font-size: 80%; float: left;">on the left</div>
<div style="font-size: 80%; float: right;">on the right</div>
</div>
0
 
LVL 35

Expert Comment

by:YZlat
ID: 9601848
create a separate html page. call it footer.html or footer.inc


<html>
<body>
<hr>

....

</body>
</html>

place this file in the same directory as your main page.
and then on your main page
you have an include statement like this:

<!-- INCLUDE file="footer.inc" -->
or
<!-- INCLUDE file="footer.html" -->
depends on what did you name your file
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question