Click to See Complete Forum and Search --> : Firefox and my ASP.NET table


zeid
December 25th, 2006, 06:17 PM
Hi all, I think this have to do with ASP.NET forum because I didn't have such a problem before.

I have a database search engine and it shows the records of my access database inside the asp:repeat ... Before the asp:repeat and after the /asp:repeat .. There is 2 tables (for the layout):

<body>
<br /><center>
<table cellpadding="0" cellspacing="0" border="0">
<tr><td width="750" height="25" class="td1">&nbsp;</td></tr>
</table></center>

<form runat="server">
<asp:Repeater id="TABLE1" runat="server">

<HeaderTemplate><center><table cellpadding="0" cellspacing="0" border="0"></HeaderTemplate>
<ItemTemplate>
<tr><td width="750" height="25"><p><a href="<%#Container.DataItem("URL")%>"><%#Container.DataItem("URL")%></a></p></td></tr>
<tr><td width="750" height="25"><p><%#Container.DataItem("DESCRIPTION")%></p></td></tr>
<tr><td width="750" height="25"><p><%#Container.DataItem("DATE")%></p></td></tr>
<tr><td width="750" height="10">&nbsp;</td></tr>
</ItemTemplate>
<FooterTemplate></table></center></FooterTemplate>

</asp:Repeater>
</form>

<center>
<table cellpadding="0" cellspacing="0" border="0">
<tr><td width="750" height="25" class="td1">&nbsp;</td></tr>
</table></center>
</body>
</html>


Anyways this look great in EI but in firefox it shows the first record after the first table ^up^ which doesn't look good as a layout.. I tried to add another <tr><td ........ after the firstone so I give more space,, But when I used Ineternet Explorer it made a big distance between the the row which is using (class="td1" ) --> gives a background color.. and the first record.

So can someone please help me fix this..

Thanks in advance,
zeid