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

Problem with html table tag

P: n/a
Hi EveryBody,

I have a master page in asp.net 2.0. I want to create 5 Section of the
page

1. Header having width=1004 and height=102
2. Menu on Left side in remaining portion having width=148 and height
must be flexible to the values in DataBase
3. Content Place Holder having width=708 and height must be flexible to
the values in DataBase
4. Right side area for Google Adds having width=148 and height must be
flexible to the values in DataBase
5. Footer Having width=1004 and height must be flexible to the values
in DataBase

For this Purpose I have Create Three Tables
1. Table For Header Only
2. Table for Left,right menues and Content Place Holder
3. Table For Footer Only

Code for these tables is

<table id="top_title" runat ="server" border ="0" cellpadding ="0"
cellspacing ="0" width ="1004" valign="top" style ="margin-top:0;
margin-left:0; ">
<tr valign="top" style ="margin-top:0; margin-left:0; ">
<td >My work</td>
<td >My work</td>
<td >My work</td>
<td >My work</td></tr>
<tr valign="top" style ="margin-top:0; margin-left:0; ">
<td >My work</td>
<td >My work</td>
<td >My work</td>
<td >My work</td></tr>
<tr valign="top" style ="margin-top:0; margin-left:0; ">
<td >My work</td>
<td >My work</td>
<td >My work</td>
<td >My work</td></tr>
</table>

<table style ="margin-top:0; margin-left:0; padding-left: 0px;
padding-top: 0px; left: 0px; position: static; top: 102px;">
<tr valign="top" style ="margin-top:0; margin-left:0; padding-left:
0px; padding-top: 0px; ">
<td >My Left Menu work</td>
<td >My content work</td>
<td >My Right work</td></tr>
</table>

<table style ="margin-top:0; margin-left:0; ">
<tr valign="top" style ="margin-top:0; margin-left:0; ">
<td >My Footer work</td></tr>
</table>

Now the Problem is that These Tables Have Space Between Them and I want
to remove these spaces.

Kindly help me its Urgant as deadline for the hosting of this site is
30 Dec,2006.
Thanx in advance. I have done everything else and left with this
problem only.

Dec 23 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.