Cell resizing at runtime

K

Kalvin

I have a very simple page to reproduce the problem I am having on a
bigger page. There is a single table, 1 row, 1 cell. I have put a
picture in the cell. In dreamweaver the page looks like i believe it
should. At runtime the cell is draw just about 2 or 3 pixels higher
than the picture.
Here are some of the things I have tried:
I have set the cell height to match the height of the image.
I have streched the image to be much larger than it should be, but
the cell displays the whole picture and this 2 pixel border at the
bottom
I have removed the cell size properties
Removed the image size properties

Any other ideas as to why the cell displays this way? There is no CSS
or fancy anything on this page.

This code is from the view source of the page at runtime.

<!-- CODE STARTS HERE -->
<html>
<head>
<title>Communication Center</title>

<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">

</head>

<body>
<table height="77" border="0" cellpadding="0" cellspacing="0"
bgcolor="#FFFFFF">
<tr height="77" >
<td bgcolor="#00FF99" height="77" >
<img src="Building.jpg" width="438" height="77">
</td>
</tr>
</table>

</body>
</html>


Thanks to whoever can help.

Kalvin
 
N

Neredbojias

With neither quill nor qualm, Kalvin quothed:
I have a very simple page to reproduce the problem I am having on a
bigger page. There is a single table, 1 row, 1 cell. I have put a
picture in the cell. In dreamweaver the page looks like i believe it
should. At runtime the cell is draw just about 2 or 3 pixels higher
than the picture.
Here are some of the things I have tried:
I have set the cell height to match the height of the image.
I have streched the image to be much larger than it should be, but
the cell displays the whole picture and this 2 pixel border at the
bottom
I have removed the cell size properties
Removed the image size properties

Any other ideas as to why the cell displays this way? There is no CSS
or fancy anything on this page.

Use css and set the cell to

line:height:0;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,040
Latest member
papereejit

Latest Threads

Top