Table Margins Help

liunx

Guest
Take a look at <!-- m --><a class="postlink" href="http://fikshun.digitalitcc.com/new.html">http://fikshun.digitalitcc.com/new.html</a><!-- m --><br />
<br />
I have a top menu bar I want to set up, and need a long gray divider bar. I put a border around the whole thing so it is easier to see.<br />
<br />
If you'll look at the quote box on the right, it has this automatic margin on the bottom that is throwing off the alignment of my horizontal bar. I had this same problem before. Reducing the table height made no difference. The margin is not part of the image, becuase I made it myself and I know I did not put it there.<br />
<br />
Please help, thanks.<!--content-->The right part was not in the table.<br />
I have set all the borders on 10.<br />
This is a way to check.<br />
Now there is a gray line on the same height as in the right part.<br />
I have colored it: yellow has to become black and orange gray.<br />
<!doctype html public "-//w3c//dtd html 3.2//en"><br />
<br />
<html><br />
<head><br />
<title><br />
Fikshun<br />
</title><br />
<style><br />
<!--<br />
A:visited {text-decoration: none;}<br />
A:hover {text-decoration: none;}<br />
A:link {text-decoration: none;}<br />
A:active {text-decoration: none;}<br />
--><br />
</style><br />
</head><br />
<body bgcolor="black" link="#ffcc00" vlink="#cc9900" alink="#99FFFF" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0"><br />
<br />
<table cellspacing="0" cellpadding="0" border="0" width="800" bgcolor="black"><br />
<tr><br />
<td><br />
<table border="0" cellspacing="0" cellpadding="0" height="60" bgcolor="black"><br />
<tr><br />
<td align="left" valign="top"><br />
<table cellspacing="0" cellpadding="0" border="0"><br />
<tr><br />
<td><br />
<IMG SRC=http://www.htmlforums.com/archive/index.php/"fikshunheader2.gif"><br />
</td><br />
</tr><br />
<tr><br />
<td width="288" height="26" align="bottom"><br />
<script language="JavaScript"><br />
days = new Array(7)<br />
days[1] = "Sunday";<br />
days[2] = "Monday";<br />
days[3] = "Tuesday";<br />
days[4] = "Wednesday";<br />
days[5] = "Thursday";<br />
days[6] = "Friday";<br />
days[7] = "Saturday";<br />
months = new Array(12)<br />
months[1] = "January";<br />
months[2] = "February";<br />
months[3] = "March";<br />
months[4] = "April";<br />
months[5] = "May";<br />
months[6] = "June";<br />
months[7] = "July";<br />
months[8] = "August";<br />
months[9] = "September";<br />
months[10] = "October";<br />
months[11] = "November";<br />
months[12] = "December";<br />
today = new Date(); day = days[today.getDay() + 1]<br />
month = months[today.getMonth() + 1]<br />
date = today.getDate()<br />
year=today.getYear();<br />
if (year < 2000)<br />
year = year + 1900;<br />
document.write ("<font size=1 face='Arial, Helvetica, sans-serif' color=ffcc00> "+ day +<br />
", " + month + " " + date + ", " + year + "</font>")<br />
</script><br />
</td><br />
</tr><br />
<tr><br />
<td width="288" height="26" align="center"><br />
<script language="Javascript"><br />
function go()<br />
{<br />
if (document.abcd.a.selectedIndex > 0 )<br />
{<br />
parent.frames[1].location.href = <!-- m --><a class="postlink" href="http://www.htmlforums.com/archive/index.php/document.abcd.a.options">http://www.htmlforums.com/archive/index ... .a.options</a><!-- m -->[document.abcd.a.selectedIndex].value;<br />
}<br />
}<br />
//--><br />
</script><br />
<form name="abcd"><br />
<select name="a"><br />
<option><br />
-Latest Fikshun-<br />
<option value="collegeguide.html"><br />
James' College Guide<br />
<option value="revoc-dommet.html"><br />
Revocation of Independence<br />
<option value="hw-oli.html"><br />
The "Heroic" War<br />
<option value="flander-ed.html"><br />
Fallout of Flander's Field<br />
<option value="lm-airmoran.html "><br />
Lifemarks<br />
<option value="regrets-jerome.html "><br />
Last Regrets<br />
</select><br />
<input type="button" value="Go" onclick="go()"><br />
</form><br />
</td><br />
</tr><br />
</table><br />
</td><br />
<td align="left" valign="top"><br />
<table cellspacing="0" cellpadding="0" border="0"><br />
<tr><br />
<td><br />
<IMG SRC=http://www.htmlforums.com/archive/index.php/"fikshunheader1.jpg"><br />
</td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
</table><br />
<br />
<br />
<br />
<br />
<!-- colorline yellow begin --><br />
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#000000" height="5"><br />
<tr><br />
<td bgcolor="#ffff00" height="1"><br />
</td><br />
</tr><br />
</table><br />
<!-- color yellow end --><br />
<br />
<!-- color orange begin --><br />
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#000000" height="1"><br />
<tr><br />
<td bgcolor="#ff8000" height="13"><br />
</td><br />
</tr><br />
</table><br />
<!-- color orange end --><br />
<br />
<br />
<br />
<br />
</td><br />
<td valign="top"><br />
&nbsp;<br />
<br><br />
<table cellspacing="0" cellpadding="0" border="0"><br />
<tr><br />
<td width="141" height="101" background="fikquotebox.gif" align="center" valign="middle"><br />
<table><tr><td width="120" height="72" bgcolor="black" align="left" valign="top"><br />
<script language="JavaScript"><br />
var a = Math.random() + ""<br />
var rand1 = a.charAt(5)<br />
quotes = new Array<br />
quotes[1] = "Ken says: Religion is the science of the heart, science is the religion of the mind."<br />
quotes[2] = "I'll push you off the cliff and watch you die -J.C."<br />
quotes[3] = "Ken's shirt: 90% attitude 10% ability (BS!)"<br />
quotes[4] = "There ought to be limits to freedom - GW Bush"<br />
quotes[5] = "For truth, justice, and the American way! -Capt. America"<br />
quotes[6] = "Lousy demons-- you ain't takin' me! - Wolverine"<br />
quotes[7] = "Heavy Laming EQ- Lmg, PC, GC, PF Gen., Combat Armor, 50 MG ammo, 400 rifle Ammo"<br />
quotes[8] = "If at first you don't succeed, skydiving is not for you."<br />
quotes[9] = "AYBABTU was funny the first time, not the 500,000th time."<br />
quotes[0] = "The great leaders are like the best conductors-they reach beyond the notes to reach the magic in the players. -Blaine Lee"<br />
var quote = quotes[rand1]<br />
</script><br />
<script language="JavaScript"><br />
document.write("<font face=arial color=white size=1>" + quote + "</font>")<br />
</script></td><br />
</tr><br />
</table></td><br />
</tr><br />
<tr><br />
<td ><IMG SRC=http://www.htmlforums.com/archive/index.php/"fikquoteboxb.gif"><br />
</td><br />
</tr></table></td></tr><br />
</table><br />
<br />
<br />
</body><br />
</html><br />
<br />
======= and the style has to be in the head.<!--content-->
 
Back
Top