0
Answer

Layout Resizing in JavaScript

Arjun Panwar

Arjun Panwar

12y
1.4k
1
Hi,

There are two divs, #left and #right, #left has a fixed width and both are floated left. Container division has no fixed
width and can be resized in my design. The requirement is that #right cannot be shifted to next line. Width of #right will be automatically adjusted to the container division and overflow text will be hidden. All of the three divisions have fixed height.

I can implement the layout with javascript to adjust the width of #right, but is there any css solution
with the help of min-width or anything else?


Thanks

Next Recommended Forum