2011-09-29 89 views

回答

1

从的ui.jqgrid.css

.ui-jqgrid .ui-pg-selbox { 
    font-size:.8em; 
    line-height:18px; 
    display:block; 
    height:18px; 
    margin: 0em; 
} 

the line 58的CSS设置是负责的字体大小。有人看到另一个有很大寻呼机输入字段的问题(ui-pg-input)。

的原因可能是以下几点:

  • 没有或HTML文件的一开始就错<!DOCTYPE html ...>(见here
  • 添加input.ui-pg-input { width: auto; }修复寻呼机输入字段。另请参阅this post如果您使用ASP.NET MVC。
  • IE的“兼容性视图”的用法(请参阅here含括注释)。您可以通过在页面的<head>中添加<meta http-equiv="X-UA-Compatible" content="IE=edge" />来解决问题(如果存在)。

以任何方式你有CSS问题。您可以使用IE开发人员工具(按F12开始)来检查样式。

+0

呼叫器的高度解决了问题,谢谢 – Timsen

+0

@Timsen:不客气! – Oleg