After conducting a thorough search, I haven't found an exact solution to my problem. My goal is to create Two Columns:
Left fluid + Right fluid.
The width of the left column should be dependent on the right column's width, with the left column containing an input box set at 100% width.
B represents a text div of dynamic length that varies in size.
A is simply an input box.
Therefore, if B has a longer text, A should adjust its width accordingly.
Please refer to the image below
https://i.sstatic.net/gimBF.jpg
Any suggestions or advice would be greatly appreciated?