as I mensioned before the 1% width problem is all over egroupware and making CJK user interface ugly. A typical example is many tables are always two or three lines high for one <tr>. If you don't have a look at a CJK user interface you probably won't notice it at all.

I introduce a global style class 'narrow_column' to address this.
This commit is contained in:
zhangweiwu 2005-07-01 03:29:44 +00:00
parent de05de8d89
commit e98354a5ab
6 changed files with 11 additions and 11 deletions

View File

@ -57,9 +57,9 @@
<td width="20%">{lang_lastname}</td>
<td width="20%">{lang_firstname}</td>
<td>{lang_email}</td>
<td width="5%">{lang_edit}</td>
<td width="5%">{lang_delete}</td>
<td width="5%">{lang_view}</td>
<td class="narrow_column">{lang_edit}</td>
<td class="narrow_column">{lang_delete}</td>
<td class="narrow_column">{lang_view}</td>
</tr>
<!-- BEGIN row -->

View File

@ -46,7 +46,7 @@
<td>{row_loginid}</td>
<td>{row_lastname}</td>
<td>{row_firstname}</td>
<td width="5%">{row_access}</td>
<td class="narrow_column">{row_access}</td>
</tr>
<!-- END row -->

View File

@ -9,7 +9,7 @@
<!-- BEGIN app_row -->
<tr bgcolor="{icon_backcolor}">
<td width="5%" valign="middle"><img src="{app_icon}" alt="[ {app_name} ]"> <a name="{a_name}"></a></td>
<td class="narrow_column" valign="middle"><img src="{app_icon}" alt="[ {app_name} ]"> <a name="{a_name}"></a></td>
<td width="95%" valign="middle"><strong>&nbsp;&nbsp;{app_name}</strong></td>
</tr>
<!-- END app_row -->

View File

@ -43,8 +43,8 @@
<!-- BEGIN row -->
<tr bgcolor="{tr_color}">
<td>{name}</td>
<td width="5%">{edit}</td>
<td width="5%">{delete}</td>
<td width="5%" align="center">{status}</td>
<td class="narrow_column">{edit}</td>
<td class="narrow_column">{delete}</td>
<td class="narrow_column" align="center">{status}</td>
</tr>
<!-- END row -->

View File

@ -38,8 +38,8 @@
<!-- BEGIN row -->
<tr bgcolor="{tr_color}">
<td>{group_name}</td>
<td width="5%">{edit_link}</td>
<td width="5%">{delete_link}</td>
<td class="narrow_column">{edit_link}</td>
<td class="narrow_column">{delete_link}</td>
</tr>
<!-- END row -->

View File

@ -7,7 +7,7 @@
<!-- BEGIN app_row -->
<tr bgcolor="{icon_backcolor}">
<td width="5%" valign="middle"><img src="{app_icon}" alt="[ {app_name} ]"> <a name="{a_name}"></a></td>
<td class="narrow_column" valign="middle"><img src="{app_icon}" alt="[ {app_name} ]"> <a name="{a_name}"></a></td>
<td width="95%" valign="middle"><strong>&nbsp;&nbsp;{app_name}</strong></td>
</tr>
<!-- END app_row -->