Re: Table with input width 100%





Robert wrote:

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.

Looking at the computed styles with the DOM inspector of Firefox I see for the input:
width 299px
border-left-width 2px
border-right-width 2px
The containing td has
width 298px



--

	Martin Honnen
	http://JavaScript.FAQTs.com/
.



Relevant Pages

  • Re: CSS
    ... I couldn't get FireFox to support it on an input element. ... there is no placebo. ...
    (microsoft.public.dotnet.framework)
  • Re: Cross Browser Problem - IE can not find a dynamic form
    ... jaxent@xxxxxxxxx said on 19/04/2006 10:47 AM AEST: ... Firefox does what I ... Same for the input element. ... Rather than setAttribute, which is broken in IE for some situations, access properties directly: ...
    (comp.lang.javascript)
  • Re: How to count HTML elements in a given table-row or coloumn?
    ... > How to count HTML elements in a given table-row or coloumn? ... I have to catch the value of an input element in a given row ... If you know which cell, e.g. the third cell then, assuming your table has an ...
    (microsoft.public.scripting.vbscript)
  • Re: Designing file upload in FF
    ... input element. ... clickmethod on any DOM object, ... Firefox does support a - click - method on some elements. ...
    (comp.lang.javascript)
  • Re: input text in table on liquid layout form in IE
    ... table wants to show all the text in the input element. ... unable to shrink the input element. ... table-layout: fixed; ... I see no difference in behavior under Firefox or IE. Firefox is ...
    (alt.html)