我正在尝试为我的网站设置一个购物车,并且我缺少一些正确使用css格式化浏览器大小调整时的三列的知识。div在浏览器上调整大小不正确
的CSS原本有以下几点:
.threeFrames .leftStyle {float: left; position: relative; width: 20%;}
.threeFrames .centerStyle {float: left; position: relative; max-width: 60%;}
.threeFrames .rightStyle {float: left; position: relative; width: 20%;}
但这并没有我想要的效果。我想将两个结束列设置为固定的width 240px
但是,当我这样做时,浏览器调整大小时,会将右侧列颠簸到其他列下方,而我只想让中间列缩小。
margin/padding? +对我来说'。.rightStyle'应该是'float:right'&'.centerStyle',不能浮动..... – Subdigger
你应该[搜索](http://stackoverflow.com/search?q=css+3在问之前 – Subdigger