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

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -