Re: Table with input width 100%
- From: Gert Brinkmann <g111@xxxxxxxxxxxxx>
- Date: Tue, 30 Aug 2005 19:03:34 +0200
Robert wrote:
> Hi,
>
> Could anyone explain the behaviour of my simple table at
> http://www.xs4all.nl/~rvanloen/example/table1/table.html
>
> The css is located at:
> http://www.xs4all.nl/~rvanloen/example/table1/css/webstyle.css
>
> I would like to know why the input element is too big.
> It sticks out in firefox and is cut off by the cell in IE6.
For Firefox: IIRC you have to add the border-width to the field-width. Here
the border seems to be 1 or 2 pixels on each side of the field. So the
field overlaps by 2 (or 4) Pixels outside the td.
For IE: I think the field is not cut off, but the border of the field
exactly covers the border of the td. (I had expected that IE would keep the
field completely inside the td, because this browser does sum the border to
the element's width.)
Gert
.
- References:
- Table with input width 100%
- From: Robert
- Table with input width 100%
- Prev by Date: Re: Table with input width 100%
- Next by Date: negative indent for paragraph
- Previous by thread: Re: Table with input width 100%
- Next by thread: negative indent for paragraph
- Index(es):
Relevant Pages
|