CSS display:table-row does not expand when width is set to 100%

后端 未结 5 713
臣服心动
臣服心动 2020-12-08 01:25

I\'m having a bit of a problem. I\'m using FireFox 3.6 and have the following DOM structure:

5条回答
  •  太阳男子
    2020-12-08 01:57

    give on .view-type class float:left; or delete the float:right; of .view-name

    edit: Wrap your div

    with another div for example

    and set the following css :

    .table {
        display:table;
        width:100%;}
    

    You have to use the table structure for correct results.

提交回复
热议问题