By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,785 Members | 1,079 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,785 IT Pros & Developers. It's quick & easy.

Empty div in a table

P: 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
Share this Question
Share on Google+
1 Reply


P: 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.