progman
04-19-2002, 08:54 PM
i don't know if this is the right forum for this, but here goes:
why isn't this lining up right? i want the text the same width as the top portion and instead it is pushing one table off to the right and displaying too far to the left. ugh!
http://oak.cats.ohiou.edu/~as221300/fweb/menu.html
akashik
04-19-2002, 10:20 PM
probably not the right section but I'll have a go :)
Do you want the text to stretch the length of the page left to right?
If so just remove the text from the table it's in. The menu table being aligned right is forcing the text table in to compensate. Leaving the menu table right aligned, but allowing the text to flow around it should fix the error. Something like this maybe:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript" src="menu.js">
</script>
<link rel="stylesheet" type="text/css" href="menu.css" title="style1">
</head>
<body bgcolor="#ffffff" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" marginheight="0" onLoad="preloadImages();">
<table class="TableBorder" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/logo.jpg"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" align="right">
<tr>
<td height="23"><img src="images/leftside.gif"><br>
</td>
<td height="23"><a onMouseOver="b01.src='images/hostingo.gif';" onMouseOut="b01.src='images/hosting.gif';" href="hosting.html"><img name='b01' src="images/hosting.gif" border="0"></a><br>
</td>
<td height="23"><a onMouseOver="b02.src='images/abouto.gif';" onMouseOut="b02.src='images/about.gif';" href="about.html"><img name='b02' src="images/about.gif" border="0"></a><br>
</td>
<td height="23"><a onMouseOver="b03.src='images/contacto.gif';" onMouseOut="b03.src='images/contact.gif';" href="contact.html"><img name='b03' src="images/contact.gif" border="0"></a><br>
</td>
<td height="23"><a onMouseOver="b04.src='images/signupo.gif';" onMouseOut="b04.src='images/signup.gif';" href="signup.html"><img name='b04' src="images/signup.gif" border="0"></a><br>
</td>
<td height="23"><a onMouseOver="b05.src='images/termso.gif';" onMouseOut="b05.src='images/terms.gif';" href="terms.html"><img name='b05' src="images/terms.gif" border="0"></a><br>
</td>
</tr>
</table>
The internet is continuing to grow at an amazing rate. By now you are probably
on the internet in some form, and if you are not, you should be! As an individual,
F.Web can give you a personalized, life-long home on the web. If you represent
a business or an organization that is not yet on the web, F.Web can be your
onramp to the expansion possibilities inherent in the Internet. With a permanent
web host such as F.Web, your home on the Internet can be viewed any where
in the world! F.Web offers a very simple solution for your web hosting needs,
be they needs for PHP and mySQL webhosting or you are hosting a site optimized
with Microsoft Frontpage extensions. Or maybe you will choose F.Web because
you need SSL encryption to further you online business.
</tr>
</table>
</body>
</html>
You should probably look at setting widths and heights in the tables as well, even if it's as percentages
Greg Moore
progman
04-20-2002, 12:22 PM
thanks for the advice! i gave all the tables % widths and gave the table aligned right an empty piece of table data to the left with an exaggerated percentage so it pushed everything right...i haven't uploaded the result yet, so it isn't posted, but it worked! thanks!