Solved

Footer html?

Posted on 2003-10-22
2
228 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

632 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