470,811 Members | 1,181 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,811 developers. It's quick & easy.

TABLE, cell width.. help

Hi..

I have this code in my page

<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr><td width="9"><img src="topLeft.gif"></td>
<td>text goes here</td>
<td width="9"><img src="topRight.gif"></td>
</tr>
</table>

The table is stretching and making the left and right columns wider
than 9 pixels wide. Why? This is very frustrating..
Am I missing something?

Thanks,

Rich

Jul 23 '05 #1
1 1640
rw*****@27east.com wrote:
I have this code in my page
Please post the URL, but validate the code first - that's your
howework.
<tr><td width="9"><img src="topLeft.gif"></td> - - The table is stretching and making the left and right columns wider
than 9 pixels wide. Why? This is very frustrating..


It may depend on the actual images, and on the browser you are using,
and on other ingredients of the page.

And it's probably frustrating to try to use HTML for pixel-exact
layout in a tricky manner. Are you sure you don't just want some
borders for a block?

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Bjoern Wolfgardt | last post: by
1 post views Thread by Thanks | last post: by
1 post views Thread by Jeronimo Bertran | last post: by
7 posts views Thread by Shawn B. | last post: by
2 posts views Thread by Rob Meade | last post: by
1 post views Thread by Dave Bennett | last post: by
2 posts views Thread by bgold12 | last post: by
5 posts views Thread by jrod11 | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.