Solved

Footer html?

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now