Click to See Complete Forum and Search --> : spacing between items in footer


bvinson
06-25-2003, 07:41 AM
I have a real simple question, I hope. I am using a .js footer and simply want to add some space between the 3 bulleted items in the footer. Can you please tell me how to do that? Sorry, I'm not a .js guru by any means. I appreciate your help and this is what I'm using:

<!-- Begin
document.write('<p>');
document.write('</p>');
document.write('<hr size="2" hr color="#00009C">');
document.write('<center>');
document.write('<td width="33%" height="17" align="center"><font face="arial" font size="2"><a href="./privacy.htm">Privacy & Security Notice </a> ');
document.write(' | <a href="mailto:beth.vinson@netwarcom.navy.mil"> FORCEnet Webmaster </a> ');
document.write(' | <a href="./accessibility.htm"> Accessibility </a> ');
document.write('</center>');
document.write('<p>');
document.write('</p>');
// End -->

bvinson
06-25-2003, 07:59 AM
I tried that before but it didn't work, however this morning it's working. Go figure! I guess it took an expert telling me what to do to make it work. Thank you for your time!

Vladdy
06-25-2003, 08:03 AM
and the proper method would be:

<a style="padding: 2px 10px" ....

where the first value is vertical padding and the secont value is horisontal padding. (you can also specify seperate value for each direction: "padding: 2px 10px 0px 5px" where the values start from top and go clockwise, or uniform padding in every direction: "padding: 4px")

Also:
get rid of the font tag, it has been depriciated in the last century. Same goes to <center>.
table elements do not belong in your code fragment - you are not presenting tabular data.
empty paragraphs are a waste of bandwidth: use CSS margins for desired formating.
if you want to include same code in every page, do it server side so it is accessible to everyone.