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