[thelist] getting TD width for IE and NS

Jeff Howden jeff at jeffhowden.com
Thu Mar 27 14:06:57 CST 2003


tom,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Tom Dell'Aringa
>
> I have not an uncommon situation. The client has forms
> that has file inputs. The client has their buttons
> styled with CSS. Of course, you can't style a file input
> button.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

and you can't simulate one either, so stop trying.

seriously.

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> Therefore I want to put a text box and a input button
> instead.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

yay though you walk in the valley of the shadow of death, you fear no
evil.... even though you better fear this.

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> problem: The fields are all 100% width (not my idea!).
> To make it "look right" I would essentially need to get
> the width of the table cell (which is a % and thus
> variable) and the button, then calc out how much space
> I have and set the text input to the appropriate size.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

you can't set the text input to 100% as well?

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> My target is IE5.5+ and NS6+. I googled this but didn't
> find nary much. Is this doable?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

dom-walking in ie5.5+ and ns6+?  yeah, highly doable.  but, will it solve
your problem with the file input?  no.

.jeff

http://evolt.org/

NOTICE:  members.evolt.org web and email address are changing!
---------------------------------------------------------------------
| OLD:                            | NEW:                            |
| jeff at members.evolt.org          | evolt at jeffhowden.com            |
| http://members.evolt.org/jeff/  | http://evolt.jeffhowden.com/    |
---------------------------------------------------------------------





More information about the thelist mailing list