html - How take all available space before meet a div with different dimension each time? -


i have div on left contains name, , don't know how long name can be. on right have div containing buttons. number of them can change don't know how many buttons have.

using css, how can take available space first div before meet second?

i need having 2 div on 1 line.

this final effect have:

http://www.clipular.com/c/5701413332058112.png?k=sip2dmbxmooyixxulrai6up1oa0

add code better response.

it depends how displaying.

if menu ul li give them attribute in css

display :inline-block. render them in line

sorry ré-read. divs different.

you can absolure positioning think should throw code on have tried easy editing


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -