|
-
Feb 12th, 2003, 07:30 AM
#1
Thread Starter
Frenzied Member
Some small but essential questions
1) I have added a HTML table to an asp.net page. Howcome the borders are white even though I have set border=0 for the table? I don't want borders!!
Also, is there a way to get rid of the unnessesary space between images and text in tables? I am having big problems aligning text and webcontrol objects close to each other.. there is always a cemtimeter or so with space... which I can't use
2)Is the only way to pop up a small info box (MsgBox) in asp.net to use javascript?? Surely there must be a better way...?!?
kind regards
Henrik
-
Feb 12th, 2003, 11:19 AM
#2
1) can you show your code?
2) No there isnt a better way.
-
Feb 13th, 2003, 06:20 AM
#3
Thread Starter
Frenzied Member
Sure, here is the code for one of my tables, where I get white borders:
PHP Code:
<TABLE id="Table2" cellSpacing="2" cellPadding="3" width="358" border="0" style="WIDTH: 358px; HEIGHT: 191px">
<TR>
<TD bgColor="#4a518c">
<P align="center"><FONT face="Verdana" color="#efefff" size="2"><STRONG>Logga in på
RapportPortalen</STRONG></FONT></P>
</TD>
</TR>
<TR>
<TD bgColor="#f7f3f7"></TD>
</TR>
<TR>
<TD align="left" bgColor="#f7f3f7">
<TABLE id="Table3" cellSpacing="2" cellPadding="2" width="300" border="0">
<TR>
<TD><FONT face="Verdana" size="2"><STRONG>Användarnamn:</STRONG></FONT></TD>
<TD>
<asp:TextBox id="TextBox1" runat="server"></asp:TextBox></TD>
</TR>
<TR>
<TD><FONT face="Verdana" size="2"><STRONG>Lösenord:</STRONG></FONT></TD>
<TD>
<asp:TextBox id="TextBox2" runat="server" TextMode="Password"></asp:TextBox></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD bgColor="#f7f3f7" align="middle">
<asp:Button id="Button1" runat="server" Text="Logga in"></asp:Button></TD>
</TR>
<TR>
<TD bgColor="#f7f3f7"><FONT face="Verdana" size="1"><STRONG>Du måste ha ett konto innan du
kan logga in</STRONG></FONT></TD>
</TR>
</TABLE>
-
Feb 14th, 2003, 07:54 AM
#4
Thread Starter
Frenzied Member
Anyone? I have presented the HTML code that is produced...
I am still getting white visible borders.... with this code :/
kind regards
Henrik
-
Feb 14th, 2003, 09:15 AM
#5
set your cellSpacing & cellPadding to 0..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|