Solved

Footer html?

Posted on 2003-10-22
2
209 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

776 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