html - Why float left doesn't work -
i'm building website fluid layout , want avoid things setting dimensions. i'm having success in everything, have div doesn't work expected. see link: http://cssdesk.com/bshqe. expect "div_botao_comecar_convite_cadastro_b" placed right of "div_descricao_curta_convite_cadastro_b", placed below div. want div placed @ left. say, don't want set width div. sorry bad english. in advance.
if don't want set specific width
want children elements aligned horizontally, utilize css3 flexboxes -
apply display:flex
#div_elementos_convite_cadastro_b
, adjust other css accordingly....
demo
more flexboxes @ csstricks
html css layout fluid
No comments:
Post a Comment