Arjun Panwar

Arjun Panwar

  • NA
  • 10.6k
  • 5.9m

Layout Resizing in JavaScript

Feb 29 2012 6:49 AM
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