In article <ijs3jvof4o74hbp8adrhds0t9i0ktt6apc@4ax.com>, Jane
Withnolastname wrote:[color=blue]
> On Wed, 6 Aug 2003 22:14:42 -0400, "EightNineThree"
> <eightninethree@REMOVEeightninethree.com> wrote:
>[color=green]
> >Please don't give anymore advice.[/color]
>
> Normally I wouldn't, but this person wasn't being helped.[/color]
I think he was helped, maybe not all the way though. (it seems to be
simple white space bug, it would be strange if no one had noticed it.)
But your reply had not a single correct sentence:
[color=blue]
> I don't think you can what you want inside a table.[/color]
That is possible. Not that it should be done, as there is better ways,
which I think were mentioned. Why tell someone how to shoot her foot?
[color=blue]
> I don't think there is a height attribute for TR or TD. If there is,
> it is reading it as text height, rather than pixel height.[/color]
There is for td
http://www.w3.org/TR/html4/struct/ta...adef-height-TH
Of course it is deprecated. And of course it is pixel height. There is no
such thing as "text height" in HTML
AFAIK.
[color=blue]
> You could try writing the height as "2px" (quotes required)....[/color]
That would be incorrect. And if it was correct HTML, quotes wouldn't be
required.
Anyway, here is something valid with CSS and meaningless markup:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<title>HR</title>
<style type="text/css">
div {height:2px;background:#000;width:100%;}
span {float:right;height:2px;background:#ccc;width:190p x;}
</style>
<div><span></span></div>
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.