FireFox - Set Width of a Textbox to the size of a Table Cell?

I want to put a control inside a table cell. When in there i want the Texbox control to resize itself (width) to the full size of the cell it resides in. On IE browsers all i have to do is set the controls: style="width: 100%". This will resize my control to the entire width of the table cell. The problem with Firefox is that when you do the same technique the entire control is resized to a size beyond the screen region. Its as iff the 100% means entire screen, not relative to its parents width

Answers:
Firefox understands "max-width".

IE will ignore it.

So, if your HTML is working in IE, add max-width.

  • My yahoo messager will not let me log in?
  • My graphics look nice on Safari, but awful on FireFox...?
  • hi, can get into any website except for www.d-addicts.com using both ie and firefox. always get error msg?
  • When i try to open Local disk (C:) or internet explorer it wont let me but firefox works... please help me!?
  • Why is Yahoo Mail Beta so Slow in Mozilla Firefox 1.5?
  • Launchcast with Firefox?
  • How can I remove Internet Explore?
  • How do you setup tabs in Firefox so that you can view all of them instead of having to scroll to the right?
  • This article contents is create by this website user, FireFoxAnswer.com doesn't promise its accuracy.