468,236 Members | 1,991 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Empty div in a table

2
Hello,
I have a div container in table. but when the table is full with TDs there is no space left for the div and the div is in the background.
how can i keep the space for the div ?

<table>
<tr>
<td><img src="images/img.gif"></td>
<td><img src="images/img.gif"></td>
<td><img src="images/img.gif"></td>
<td><img src="images/img.gif"></td>
<td><img src="images/img.gif" ></td>
<td>
<div><!-- this div is the menubar place --></div>
</td>
<td><img src="images/img.gif"></td>
<td><img src="images/img.gif"></td>
<td><img src="images/img.gif"></td>
<td><img src="images/img.gif" ></td>
<td width="100%"></td>
</tr>
</table>

Thanks
Mar 29 '07 #1
1 1516
mc33
2
Hello,
I have a div container in table. but when the table is full with TDs there is no space left for the div and the div is in the background.
how can i keep the space for the div ?

<table>
<tr>
<td><img src="images/img.gif"></td>
<td><img src="images/img.gif"></td>
<td><img src="images/img.gif"></td>
<td><img src="images/img.gif"></td>
<td><img src="images/img.gif" ></td>
<td>
<div><!-- this div is the menubar place --></div>
</td>
<td><img src="images/img.gif"></td>
<td><img src="images/img.gif"></td>
<td><img src="images/img.gif"></td>
<td><img src="images/img.gif" ></td>
<td width="100%"></td>
</tr>
</table>

Thanks
I found what wend worng!!
I gave the table fixed width. and the TD with the DIV container fixed width.
and it worked!!.
Mar 29 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

10 posts views Thread by Agent Mulder | last post: by
reply views Thread by Phil Powell | last post: by
12 posts views Thread by Stefan Weiss | last post: by
6 posts views Thread by Mike P | last post: by
14 posts views Thread by Xah Lee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.