|
-
Apr 14th, 2005, 09:04 AM
#1
Thread Starter
Fanatic Member
HTML Tables - Empty Cells
I get no border around cells in an HTML table that either have a null value or an empty string. Is there anyway I can always have a border around cells because it makes the table look really crap!
Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment. 
-
Apr 14th, 2005, 09:08 AM
#2
Frenzied Member
Re: HTML Tables - Empty Cells
Ensure there is always content. Either check for NULL or an empty string and replace with or put a after every value so when there is a NULL or empty string the cell isn't completely empty.
DJ
If I have been helpful please rate my post. If I haven't tell me!
-
Apr 14th, 2005, 09:19 AM
#3
Thread Starter
Fanatic Member
Re: HTML Tables - Empty Cells
Thanks, but it seems a shame that I have to put content into every cell just to get it to display consistantly...
Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment. 
-
Apr 14th, 2005, 09:22 AM
#4
Re: HTML Tables - Empty Cells
Hey, standards are standards.
-
Apr 14th, 2005, 11:18 AM
#5
Member
Re: HTML Tables - Empty Cells
If you put a into the HTML it will not show in the page that is presented to the user so it will look like an empty cell.
What Editor are you using to create your page? Most will put the automatically for you if you leave the cells blank.
You may also want to consider CSS because you can get the border effect that way and it will look the same in alternate browsers. I could be wrong but I think I.E. is the only browser that will show colored borders in tables using plain HTML. The others will show it as an ugly gray.
-
Apr 15th, 2005, 02:22 AM
#6
Thread Starter
Fanatic Member
Re: HTML Tables - Empty Cells
I am using VB.NET to create an ASP.NET project. The HTML table is being used to format a DataRepeater control.
Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment. 
-
Apr 15th, 2005, 08:55 AM
#7
Re: HTML Tables - Empty Cells
Dj4's solution still applies.
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
|