473,382 Members | 1,086 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

table cell border and css

here is my css

table#bartb {
border : 1px solid;
width : 100%;
}

table#bartb td {
border : 1px solid;
color : #ffffff;
padding : 0px;
margin : 0px;
background : #679999;
text-align : right;
font : bold white xx-small Verdana, Arial, Helvetica, sans-serif;
}

here is my html

<table id=bartb>
<tr>
<td>Empty cell row</td>
<td> </td>
</tr>
</table>

I found that the border of the second cell is not printed. How can I
get it printed?
Thanks,

qq

Jul 23 '05 #1
16 5938
qu******@yahoo.com wrote:

<td>Empty cell row</td>
<td> </td> I found that the border of the second cell is not printed. How can I
get it printed?


http://w3.org/TR/CSS2/tables.html#propdef-empty-cells

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 23 '05 #2
qu******@yahoo.com wrote:
here is my css
If your problem is essentially a CSS question, as you seem to think
yourself, then this is a wrong group.

You should post the URL, not snippets of code.
font : bold white xx-small Verdana, Arial, Helvetica,
Working hard to make text illegible to most people, are you not?
<table id=bartb>
<tr>
<td>Empty cell row</td>
<td> </td>
</tr>
</table>
Doesn't look like a tabular structure to me.
I found that the border of the second cell is not printed. How can I
get it printed?


David gave you a pointer to the CSS solution.

Here in the HTML group I might mention that you could use
<td>&nbsp;</td> instead of <td> </td> to get the borders.
This is an ugly hack, but it has a semi-official status.

On the other hand, &nbsp; is a character (the no-break space), which thus
has some width and height, so the cell cannot be made arbitrarily small.
There are other workarounds to this, but why don't you explain what you are
really trying to achieve, illustrating this with a nice juicy URL?

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 23 '05 #3
You printed out a long anser, none of the lines is useful to me and
other readers.
If your problem is essentially a CSS question, as you seem to think
yourself, then this is a wrong group.
Why can not we post css question here? Is not css and html related?
Also, I do not know it is a css problem or a html problem yet.
You should post the URL, not snippets of code.
font : bold white xx-small Verdana, Arial, Helvetica,


I have hundreds of people visit my site, no of them complain about the
font. I was trying to make my site looks nice. I do not want to
sacrifice the appearance just because 0.1% people can not see the font.
Working hard to make text illegible to most people, are you not?
<table id=bartb>
<tr>
<td>Empty cell row</td>
<td> </td>
</tr>
</table>


Doesn't look like a tabular structure to me.


So what's your tabular structure?

I do not like the way you write. If you do not like help people, why do
you visit and post here?

Jul 23 '05 #4
qu******@yahoo.com wrote:
You printed out a long anser, none of the lines is useful to me and
other readers.
Au contraire.
font : bold white xx-small Verdana, Arial, Helvetica,


I have hundreds of people visit my site, no of them complain about
the font.


Most people will simply leave a site they cannot read, go back to the
search engine of choice and pick another one.
I was trying to make my site looks nice. I do not want to sacrifice
the appearance just because 0.1% people can not see the font.
I'd say that xx-small (when Verdana is not present) is unreadable to
far more than 0.1%. It would be to me. Do be aware that not everyone
*has* Verdana on their computers. Just because you have Verdana, and
good eyesight, is no reason to set your site's font at anything other
than a size of ... 100%.

http://www.xs4all.nl/~sbpoley/webmatters/verdana.html
I do not like the way you write. If you do not like help people,
why do you visit and post here?


It was good advice.

--
-bts
-This space intentionally left blank.
Jul 23 '05 #5
On 5 Feb 2005 08:38:15 -0800, <qu******@yahoo.com> wrote:
I do not like the way you write. If you do not like help people, why do
you visit and post here?


Damn, yet another fool who thinks he can order others around like it is his
personal helpdesk.

Look here dude, if you don't like what you get here, get a refund. The advise
given was solid and good. It is not Jukka's fault you lack knowledge to
rackognise its worth.

--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'
Jul 23 '05 #6
On 5 Feb 2005 08:38:15 -0800, qu******@yahoo.com wrote:

I have hundreds of people visit my site, no of them complain about the
font. I was trying to make my site looks nice. I do not want to
sacrifice the appearance just because 0.1% people can not see the font.


Oh! Another artist.

Geo

Jul 23 '05 #7
qu******@yahoo.com wrote:
You printed out a long anser, none of the lines is useful to me and
other readers.
It is only useful to those who are open-minded enough to see its worth.
Why can not we post css question here?
You can. But you'll get more help about css in a group dedicated to css,
don't you think? And comp.infosystems.www.authoring.stylesheets is just
one door down from comp.infosystems.www.authoring.html.
I have hundreds of people visit my site, no of them complain about
the font.
They never do. They put up with it or go elsewhere.
I was trying to make my site looks nice.
looks nice != unreadable
<table id=bartb>
<tr>
<td>Empty cell row</td>
<td> </td>
</tr>
</table>


Doesn't look like a tabular structure to me.

So what's your tabular structure?


Here are pages with <table> elements that hold tabular data:

http://www.tsmchughs.com/menus/wine
http://www.tsmchughs.com/contact/
http://www.julietremblay.com/portfolio/catalogue

I do not like the way you write.


Then you got what you paid for. Take something useful from it or not.
That's your choice.

--
Brian
Jul 23 '05 #8
In <11**********************@f14g2000cwb.googlegroups .com>, on
02/05/2005
at 08:38 AM, qu******@yahoo.com said:
I do not want to sacrifice the appearance just because 0.1% people
can not see the font.
Tonto, you have no way of knowing how many people can't see your font.
Most will simply ignore your site rather than complaining.
I do not like the way you write.
And I don't like the way that you write.
If you do not like help people, why do you visit and post here?


If you don't want to accept the help that is offered, why do you ask
for help?

He was helping you; you were just to stubborn to accept his help.

--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to sp******@library.lspace.org

Jul 23 '05 #9
First of all, I have the right to say what I think. Second, I have the
right to say "fool" too, but I never use it in a tech community.

Jul 23 '05 #10
On 5 Feb 2005 08:38:15 -0800, qu******@yahoo.com wrote:
You should post the URL, not snippets of code.
> font : bold white xx-small Verdana, Arial, Helvetica,


I have hundreds of people visit my site, no of them complain about the
font.


Just out of curiosity: how do you suppose that someone who can't read
your site is going to be able to send you a complaint?

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 23 '05 #11
We are in the same company, and if they can not read my site, they lost
their job.

Stephen Poley wrote:
On 5 Feb 2005 08:38:15 -0800, qu******@yahoo.com wrote:
You should post the URL, not snippets of code.

> font : bold white xx-small Verdana, Arial, Helvetica,


I have hundreds of people visit my site, no of them complain about thefont.


Just out of curiosity: how do you suppose that someone who can't read
your site is going to be able to send you a complaint?

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/


Jul 23 '05 #12
You think you can fuck around because you have given some help?

Jul 23 '05 #13
You are the fool

Jul 23 '05 #14
You are the fool

Jul 23 '05 #15
You are the fool

Jul 23 '05 #16
On 9 Feb 2005 08:37:26 -0800, qu******@yahoo.com wrote:
We are in the same company, and if they can not read my site, they lost
their job.


Ah Richard, how we miss you.

Jul 23 '05 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: MattB | last post by:
Hello please help, I have a table cell with a div in it. The div has a width of 300px. but when it is rendered it puts extra space into the table cell. Here's the style <style>...
7
by: jeff | last post by:
Doing this: td{border: 1px solid black} gives me 2px borders on adjacent cells. How do I get the same size border on inside cell walls as outside, much as <table border="1" cellspacing="0">...
7
by: Bob Bedford | last post by:
I've an image in a cell of a table. I've this CSS: ..dbtable{ width: 600px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; border-collapse: collapse; border: 1px solid #000000;
3
by: N. Demos | last post by:
I have a single row table with fixed dimensioned cells nested inside a fixed dimensioned div, which has overflow: hidden. The div's dimensions are such that It should only display the first two...
2
by: The_Original_MB | last post by:
I have a task to create tables dynamically, using the javascript DOM. The current method uses a 1px x 1px IFRAME to loop through some data generation stuff, and then call JS functions in the parent...
7
by: Shawn B. | last post by:
Greetings, I am trying to create a table that has a scrolling body. The problem I'm experiencing is that if the columns in the "body" part of the table exceed the width of the "header" then...
0
by: Thomas Scheiderich | last post by:
I have a table that has 3 image slices. The middle slice changes size based on size of browser window. This works great. My client wants the date to show over the image on the right. So what I...
5
by: Romulo NF | last post by:
Greetings, I´m back here to show the new version of the drag & drop table columns (original script ). I´ve found some issues with the old script, specially when trying to use 2 tables with...
1
by: jamesm6162 | last post by:
Hi I have the following XSL-FO document that I'm testing with the FOP processor. The table I put in, however, is completely stuck to the left side of the body-region, regardless of which margins...
1
by: vp.softverm | last post by:
hi all . Am facing problem with the date picker. when i click on date picker in a popup window. the date table is opened in the middle of the pop up window. and it is unable to scroll with...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.