O
OccasionalFlyer
I don't make any claims to be an HTML expert but I've written more
than a few tables in my experience. So I am totally baffled by the
results I'm getting from some very simple table code. Alas, I can't
figure out a way to test it without making it live, so I'd appreciate
a quick response so I can get something yucky off my site please.
I used this code:
<table width="102%" cellpadding="5" cellspacing="0" border="1">
<tr align="left" valign="top" >
member
</tr>
<tr align="left" valign="top" >
1
</tr>
<tr align="left" valign="top">
2
</tr>
</table>
It displays the table, however, as only two lines:
member 1 2
dark black horizontal line
I've never seen such a thing.
What I wanted to do was this:
<table width="102%" cellpadding="5" cellspacing="0" style="border: 1px
solid black">
<tr align="left" valign="top" style="font-family: Arial; font-size:
120%; border: 1px solid black;">
member
</tr>
<tr align="left" valign="top" style="text-indent: 8px; font-family:
Arial; font-size: 100%; border: 1px solid black">
1
</tr>
<tr align="left" valign="top" style="text-indent: 8px; font-
family: Arial; font-size: 100%; border: 1px solid black">
2
</tr>
</table>
I haven't put real values on the page yet because I'm still trying to
make it work. I know that this is not how you're supposed to do CSS
but I'm trying to cope with doing HTML in an ASP.NET environment and
don't know how to cope with that.
However, this simple table ought to work. I looked at the page
source but saw nothing. Please help. Thanks.
Ken
than a few tables in my experience. So I am totally baffled by the
results I'm getting from some very simple table code. Alas, I can't
figure out a way to test it without making it live, so I'd appreciate
a quick response so I can get something yucky off my site please.
I used this code:
<table width="102%" cellpadding="5" cellspacing="0" border="1">
<tr align="left" valign="top" >
member
</tr>
<tr align="left" valign="top" >
1
</tr>
<tr align="left" valign="top">
2
</tr>
</table>
It displays the table, however, as only two lines:
member 1 2
dark black horizontal line
I've never seen such a thing.
What I wanted to do was this:
<table width="102%" cellpadding="5" cellspacing="0" style="border: 1px
solid black">
<tr align="left" valign="top" style="font-family: Arial; font-size:
120%; border: 1px solid black;">
member
</tr>
<tr align="left" valign="top" style="text-indent: 8px; font-family:
Arial; font-size: 100%; border: 1px solid black">
1
</tr>
<tr align="left" valign="top" style="text-indent: 8px; font-
family: Arial; font-size: 100%; border: 1px solid black">
2
</tr>
</table>
I haven't put real values on the page yet because I'm still trying to
make it work. I know that this is not how you're supposed to do CSS
but I'm trying to cope with doing HTML in an ASP.NET environment and
don't know how to cope with that.
However, this simple table ought to work. I looked at the page
source but saw nothing. Please help. Thanks.
Ken