"Jukka K. Korpela" wrote
I want a row/cell of 1px height.
Stop wanting that.
Egads !!! I must have stirred a hornet's nest !! :o) I did not want
to burden all with the whole complexity of whatever problem I am
facing. But now, since all seem to be interested, here goes... I want
to create a custom toolbar with vertical drop-down menus ( Please
don't question as to why I am reinventing the wheel again.. I am
not... A drop-down menu is one among many of the functions required of
the toolbar ) I want to mark a seperator between individual items of
the menu ( The menu is a table with items as rows of it, each row
containing a single cell ). The seperator row/cell will have no text
in it, but a bottom border, thus emulating a seperator line. I thought
setting <TD> </TD> with the 'Font-Size' style to 1px would be
incorrect. Hence, the reason I opted to use an image ( albeit a very
small one, of height 1px ). How am I wrong in wanting a row/cell of
1px height? Please... I would be glad to be enlightened...
<TR><TD><IMG HEIGHT=1
SRC='http://myserver.com/blank-small.gif'></TD></TR>
Post a URL, not an incorrect snippet of code.
If I were able to post a URL, I would have ( I am working in a
restricted environment ). How incorrect is the snippet?
However, the row does take more than 1px.
There are 42 possible reasons to that. The most probable is perhaps that
you have a positive value for cellspacing (perhaps by browser defaults).
I agree. I found the reason soon as I posted my query. Actually, it
was reason no 41. :o) I had a positive value for cellpadding.
Where am I going wrong?
You are not telling what you are really aiming at, you are not posting
the URL, you are using tables for layout pointlessly, and you are using
invalid markup.
Think I have satisfied all troubled minds... I am yet a novice at
this. I apologize for being so naive...
Regards,
Rithish.