border mistake and not showing in 2.0

D

danielhoin

I have a table in asp.NET 2.0 and I place border="1" in the table tag
and I get a border around the entire table, but not around the cells. I
thought this was what I remembered to place a border around each cell,
and sure enough, if I write a simple table in notepad, it looks right.
Why am I not getting the cell lines in asp.NET, even though the syntax
works for plain html?
 
M

Martin Jay

In message said:
I have a table in asp.NET 2.0 and I place border="1" in the table tag
and I get a border around the entire table, but not around the cells. I
thought this was what I remembered to place a border around each cell,
and sure enough, if I write a simple table in notepad, it looks right.
Why am I not getting the cell lines in asp.NET, even though the syntax
works for plain html?

Do you have anything in your stylesheet that removes the border? For
example:

td{
border: none;
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top