CSS two div width 50% in one line with line break in file

后端 未结 9 1269
囚心锁ツ
囚心锁ツ 2020-12-04 15:18

I try to build fluid layout using percentages as widths. Do do so i tried this:

A
9条回答
  •  囚心锁ツ
    2020-12-04 16:08

    Left

    I know this question wanted inline block, but try to view http://jsfiddle.net/N9mzE/1/ in IE 7 (the oldest browser supported where I work). The divs are not side by side.

    OP said he did not want to use floats because he did not like them. Well...in my opinion, making good webpages that does not look weird in any browsers should be the maingoal, and you do this by using floats.

    Honestly, I can see the problem. Floats are fantastic.

提交回复
热议问题