I try to build fluid layout using percentages as widths. Do do so i tried this:
<div style="width:50%; display:inline-table;">A</div>
<div style="width:50%; display:inline-table;">B</div>
In that case they wont stand in one line, but if i remove line break between them, like this:
<div style="width:50%; display:inline-table;">A</div><div style="width:50%; display:inline-table;">B</div>
then it works fine. Where is the problem? How can i do someting like that but without using absolute position and float.
p.s. sorry for english.
p.s.s. i hope i good explain my problem
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…