- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2015 11:12 PM
How can I change the padding and width of the ServiceNow fields below:
I would like to increase or decrease the reference fields width and pad between each.
<table>
<p>When a user account is locked, follow KB Article: 402546<br />Please verify the manager and have IAM-OPs re-enable the password.</p>
<hr />
<tr>
<td align="center">Spoke to Manager :</td>
<td>
<g:ui_reference name="manager_name" table="sys_user" query="nameNOT LIKEDept_Shared" completer="AJAXTableCompleter" columns="u_rj_user_name;department" width="250" />
</td>
</tr>
<tr>
<td align="center">Verified Manager's Identity :</td>
<td align="left"><g:ui_checkbox name="verified_manager" value="${false}" mandatory="true"/></td>
</tr>
<tr>
<td align="center">Obtained New Expiration Date :</td>
<td><g:ui_date name="password_expiration_date" value="${sysparm_start_date}" /></td>
</tr>
<tr>
<td align="center">IAM-OPS Associate :</td>
<td><g:ui_reference name="iamops_name" id="reference_fields" table="sys_user" query="nameNOT LIKEDept_Shared" completer="AJAXTableCompleter" columns="u_rj_user_name;department" /></td>
</tr>
</table>
I have tried a bunch of different things to modify the spacing and I can't get anything to work so I removed that from the code above. except the cellspacing and cellpadding which clearly doesn't work or I am doing something wrong.
Solved! Go to Solution.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2016 07:03 AM
Look into bootstrap. I have completely reworked the HTML to remove the tables and take advantage of bootstrap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2015 11:24 PM
could you please remove cellspacing and cellpadding from the <tr> tag and check once...
After that please paste a screenshot here...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2015 11:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2015 11:35 PM
Check it once please:
- <table cellspacing="15" cellpadding="25">
- <p>When a user account is locked, follow KB Article: 402546<br />Please verify the manager and have IAM-OPs re-enable the password.</p>
- <hr />
- <tr>
- <td align="center">Spoke to Manager :</td>
- <td>
- <g:ui_reference name="manager_name" table="sys_user" query="nameNOT LIKEDept_Shared" completer="AJAXTableCompleter" columns="u_rj_user_name;department" width="250" />
- </td>
- </tr>
- <tr>
- <td align="center">Verified Manager's Identity :</td>
- <td align="left"><g:ui_checkbox name="verified_manager" value="${false}" mandatory="true"/></td>
- </tr>
- <tr>
- <td align="center">Obtained New Expiration Date :</td>
- <td><g:ui_date name="password_expiration_date" value="${sysparm_start_date}" /></td>
- </tr>
- <tr>
- <td align="center">IAM-OPS Associate :</td>
- <td><g:ui_reference name="iamops_name" id="reference_fields" table="sys_user" query="nameNOT LIKEDept_Shared" completer="AJAXTableCompleter" columns="u_rj_user_name;department" /></td>
- </tr>
- </table>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2015 11:39 PM
Did you add the cellspacing to the table as opposed to the rows?
If this is the case, I have tested that with the same results. (As I was removing the spacing in the rows just a minute ago)