0
我正在嘗試打印頁面...... 爲此,我有兩個不同的列...... 所以我減少了一列的寬度以使前一列上升。 .... 但我不能夠把第二列...打印css向右移動列向上
提供以下
http://jsfiddle.net/pd7hF/embedded/result/
@media print
{
.mainDiv { display: none;}
.form-horizontal .control-label {width: 50px;}
#poLeft { width: 300px; border: 1px solid red;}
#billTo {width: 122px;}
#cityLeft{width:40px;margin-left: 85px;height: 13px;}
#stateLeft{width: 50px;height: 13px;width: 41px;}
#zipLeft{width: 40px;height: 13px;}
#countryLeft{width: 117px;margin-left: 62px;height: 13px;}
#phoneLeft{width: 121px;height: 13px;}
#emailLeft{width: 125px;}
#noteLeft{width: 101px;}
#poLeft{width: 154px;}
#poRight{width: 300px;}
#fileRight{width: 101px;}
/* any other styles you wish to target go here */
}
感謝您的回覆....當我打印的頁面仍然是我的右列是下根據你的CSS .... HTTP://jsfiddle.net/4GcfE/embedded/result/ – user2045025 2013-02-18 17:18:55
@ user2045025請調整#poLeft和#poRight的寬度 – snowp 2013-02-19 04:52:06
可以在小提琴中更新...我嘗試過但不工作...謝謝你 – user2045025 2013-02-19 14:36:05