Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Styles screwing up Table Widths in DW4 Ultradev?

Status
Not open for further replies.
Apr 25, 2001
4
US
Hello, I am not certain that DW4 is causing this problem, but that is the tool I use to design webpages.

My problem is that I have a navigation table that is supposed to be 100% width of page. This table is code that is called with PHP include statement. Everything seemed to work fine until I put in inline styles on my links to change the color on mouseovers.

Now when I first go to the page, the navbar seems to have a small gap on the left hand side, maybe 10 pixels. On the righthand side it is flush against the edge, like it should be. If I refresh the page, the navbar correctly goes to 100% again. If I go to another page, and then back again (with a URL, not browser BACK), the problem re-ocurrs until I refresh again!... Below is my code for the navbar and a page that calls it. It's not a critical problem, but it is annoying me because I cannot find why this is happeneing...

Thanks in advance

NAVBAR CODE:

<table width=&quot;100%&quot; height=&quot;80&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;>
<tr>
<td height=&quot;45&quot; nowrap bordercolor=&quot;#FFFFFF&quot; bgcolor=&quot;#003366&quot;>
<table width=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; height=&quot;100%&quot;>
<tr>
<td nowrap height=&quot;100%&quot;><img src=&quot;/img/jwp%60.gif&quot; width=&quot;250&quot; height=&quot;45&quot;></td>
<td width=&quot;32%&quot; valign=&quot;middle&quot; align=&quot;right&quot; nowrap height=&quot;100%&quot;>
<b><font face=&quot;Arial, Helvetica, sans-serif&quot; size=&quot;4&quot; color=&quot;#FFFFFF&quot;>
<?php echo date(&quot;l F n, Y \ \ g:ia&quot;);
?>
      </font></b> <br>
<font face=&quot;Arial, Helvetica, sans-serif&quot; size=&quot;1&quot; color=&quot;#CCFF33&quot;><a href=&quot;#&quot;><FONT COLOR=&quot;#CCFF33&quot; onmouseover=&quot;this.style.color='#FFFFFF'&quot; onmouseout=&quot;this.style.color='#CCFF33'&quot;>HOME</font></a>
| <a href=&quot;#&quot;> <FONT COLOR=&quot;#CCFF33&quot; onmouseover=&quot;this.style.color='#FFFFFF'&quot; onmouseout=&quot;this.style.color='#CCFF33'&quot;>AUDIO</font></a>
| <a href=&quot;#&quot;> <FONT COLOR=&quot;#CCFF33&quot; onmouseover=&quot;this.style.color='#FFFFFF'&quot; onmouseout=&quot;this.style.color='#CCFF33'&quot;>VISUAL</font></a>
| <a href=&quot;#&quot;> <FONT COLOR=&quot;#CCFF33&quot; onmouseover=&quot;this.style.color='#FFFFFF'&quot; onmouseout=&quot;this.style.color='#CCFF33'&quot;>PROGRAMS</font></a>
| <a href=&quot;#&quot;> <FONT COLOR=&quot;#CCFF33&quot; onmouseover=&quot;this.style.color='#FFFFFF'&quot; onmouseout=&quot;this.style.color='#CCFF33'&quot;>LINKS</font></a>
| <a href=&quot;#&quot;> <FONT COLOR=&quot;#CCFF33&quot; onmouseover=&quot;this.style.color='#FFFFFF'&quot; onmouseout=&quot;this.style.color='#CCFF33'&quot;>CONTACT</font></a>     </font>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height=&quot;10&quot; nowrap bordercolor=&quot;#FFFFFF&quot; bgcolor=&quot;#000000&quot; background=&quot;/img/navdivider.gif&quot;> </td>
</tr>
</table>


PAGE THAT INCLUDES THE CODE:

<html><head><meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
<title>Page in Progress</title>
<style type=&quot;text/css&quot;>
<!--
A:link {text-decoration:none}
A:visited {text-decoration:none}
--> </style>
</head>

<body leftmargin=&quot;0&quot; topmargin=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot;>
<?php include (&quot;dyn_nav.php&quot;); ?>
</body></html>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top