Re: <td width=...> in IE

richard wrote:
On Oct 23, 2:23 am, jodleren <sonn...@xxxxxx> wrote:

I have problems with the following code in IE, but it works well in

<table border=1>
<td>a b</td>
<td width=25>c</td>

width=25? 25 what? Pixels or percent?
width="25" equals pixels where as "25%" defines percent.

It would be pixels. The HTML attribute is in pixels unless you explicitly use the "%" unit identifier width="25%" T think you are confusing it with CSS properties where unit identifiers are required[1] for length values, width: 25px;

[1]optional for "0" values and with line-height property.

Take care,


Relevant Pages

  • Re: Why doesnt this container center?
    ... Elsewhere you set how many pixels there are, ... Given that information the browser would be able to make a confident ... there are 96 pixels to an inch. ... I hope Richard can't update my OS. ...
  • Re: Photos of Soham cycle bridge
    ... in message, Richard ... > Simon Brooke wrote: ... Crap? ... > 1840 x 1232 pixels, ...
  • Re: Pixel data type
    ... "alex" wrote: ... > used for pixels' data type? ... Richard ...