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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Table Size

Status
Not open for further replies.

2760

Instructor
Nov 10, 2002
34
GB
Hi all,

I have constructed a simple navigation bar in a table in MX and have set the width to 154 pixels. However, even though it is displayed at this size in DW, when i preview it in my browser window, it appears to be much wider than 154 pixels. I have checked all the width sizes in the code and they are all set to 154, but it still appears wider when i preview it in a browser window. Does anyone know why this is happening?

Thanks in Advance.
 
Im sorry but the W3C just revoked my ability to mind read (ethics issue). but if you post some code or a link they cant stop me from tryin got help you.

<signature>
sometime you just gotta say &quot;WHAT THE @#*% !!&quot;
</signature>
 
here you go

Code:
<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;>
<html>
<head>
<style>
A.menulink {
display: block;
width: 198px;
text-align: left;
text-decoration: none;
font-family:Arial;
font-size:13;
color: #000066;
}
A.menulink:hover {
background-color:#FFFFFF;
}
</style>
<script>

/*
CSS Menu highlight- By Marc Boussard (marc.boussard@syntegra.fr)
Modified by DD for NS4 compatibility
Visit [URL unfurl="true"]http://www.dynamicdrive.com[/URL] for this script
*/

var ns4class=''
</script>
<title>Untitled Document</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot; />
<style type=&quot;text/css&quot;>
<!--
.sides-border {
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #000066;
	border-right-color: #000066;
	border-bottom-color: #000066;
	border-left-color: #000066;
}
-->
</style>
</head>

<body>
<div width=&quot;154&quot; align=&quot;center&quot;> <table width=&quot;154&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;>
  <tr bgcolor=&quot;#000066&quot;>
      <td>NAVIGATION</td>
    <td width=&quot;23&quot; height=&quot;23&quot;><div align=&quot;right&quot;><img src=&quot;[URL unfurl="true"]http://www.routemasters-remembered.fsworld.co.uk/corner1.gif&quot;[/URL] width=&quot;23&quot; height=&quot;23&quot;></div></td>
  </tr>
  <tr bgcolor=&quot;#e6e6e6&quot;>
      <td>link 1</td>
    <td> </td>
  </tr>
  <tr bgcolor=&quot;#e6e6e6&quot;>
      <td>link 2</td>
    <td> </td>
  </tr>
  <tr bgcolor=&quot;#e6e6e6&quot;>
      <td>link3</td>
    <td> </td>
  </tr>
  <tr bgcolor=&quot;#e6e6e6&quot;>
      <td>link 4</td>
    <td> </td>
  </tr>
  <tr bgcolor=&quot;#e6e6e6&quot;>
      <td>link 5</td>
    <td> </td>
  </tr>
  <tr>
    <td height=&quot;23&quot; bgcolor=&quot;#000066&quot;><div align=&quot;left&quot;><img src=&quot;[URL unfurl="true"]http://www.routemasters-remembered.fsworld.co.uk/corner2.gif&quot;[/URL] width=&quot;23&quot; height=&quot;23&quot;></div></td>
    <td bgcolor=&quot;#000066&quot;> </td>
  </tr>
</table></div>
</body>
</html>

<signature>
sometime you just gotta say &quot;WHAT THE @#*% !!&quot;
</signature>
 
did this work? am i way off? any update? why dont ppl close out their thread?

<signature>
sometime you just gotta say &quot;WHAT THE @#*% !!&quot;
</signature>
 
Sorry! I've been caught up requiring help with with another thread on here.
Yes it did work. Many thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top