Problem calculating percentage for body width

后端 未结 6 1147
無奈伤痛
無奈伤痛 2021-01-16 20:20

I need to build a classic 960px layout and I have to convert that 960px into %. So, I should use 960px / 16px = 60%, right?

Note: 960px =

6条回答
  •  长情又很酷
    2021-01-16 20:21

    same problem on both safari and chrome, but works perfectly on ff, ie-6-9 and opera it doesn't matter whether i use css or 'bad' html. First td is 133 px, second is 869px, and total width is 1001px (?), with 0 cellspacings and cellpaddings. The reason was too small info in cells. I added .td_left{min-width: 200px} .td_right{min-width: 800px}

提交回复
热议问题