te*********@yahoo.com wrote:
On Mar 20, 11:12 am, Toby A Inkster <usenet200...@tobyinkster.co.uk>
wrote:
>HTMLDog.com is certainly not that. It's a great tutorial.
It's better than most, I'll agree, but remember
I stated my question was esoteric.
In the end, I did what Jonathan discouraged: I experimented
like a "code monkey" and found the answer.
It doesn't appear that you did.
In your original post you said you get 4 rows of gray pixels. Why would
you have gray at all? You didn't specify anything to be gray (unless you
did it someplace you didn't show us--in which case, you are advised that
when you ask for debugging help, you need to present all the information
you have--if you can't figure it out, how can we, with only a fraction
of the information you have?).
In any event, I have no gray. I created a page with two tables, one with
TDs as in your original post, and one with TDs adjusted as in your
follow-up. In both cases the two tables look identical. So if you had
gray originally, and the gray turned to red when you switched from the
first formulation to the second, then you changed something else to,
whether you're aware of it or not.
In the second place, your original trouble report was that the 10px-high
INPUT boxes were taking up the entire vertical space of the 14px-high
TDs--and then you reported that the INPUT boxes were taking up 10 rows
of pixels, leaving 4 other rows--whether gray or red, it doesn't
matter--which implies that 4 pixels of the TD were above and beyond the
vertical space taken up by the INPUT, contradicting your complaint.
So in the end, I don't know what was really happening on your end, I
don't know what your code really looked like before or after, I don't
know what you changed in the code, and I don't know what it is you think
you fixed or what you think you learned. Let's just say that if
something like this happens again, where you think something is taking
up too much vertical space, and you think the fix is to replace a
bgcolor attribute with a CSS background: red; well, it won't be.