- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2016 01:27 PM
I have a reference field on my UI Page, but it's a bit too wide. Is there a way to style jelly elements? My HTML code looks something like this:
<table class = "field">
<tr>
<td>
<label> Name of family member $[SP]<i>(last, first, middle initial)</i></label>
<g:ui_reference name="family_member_1" id="family_member_1" table="hr_beneficiary" query="active=true" completer="AJAXTableCompleter" columns="employee; beneficiary_contact.relationship"/>
</td>
</tr>
</table>
I would love to be able to use some CSS to style g:ui_reference, but haven't found a way to do it:
<style>
ui_reference {
width: 70%;
border-color: blue;
}
</style>
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2016 04:19 PM
Hi David,
Jelly tags are processed on the server side and transformed into html tags that can be interpreted by any client (browser). You may want to try to create the styles aligned to the resultant html code that is created. You can take a look to this resultant code created by opening your UI page on your browser using "Inspect".
Additionally, I'll recommend you add your style tags at the beginning of your ui page code after the default ui page header tags.
I hope this helps.
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2016 04:19 PM
Hi David,
Jelly tags are processed on the server side and transformed into html tags that can be interpreted by any client (browser). You may want to try to create the styles aligned to the resultant html code that is created. You can take a look to this resultant code created by opening your UI page on your browser using "Inspect".
Additionally, I'll recommend you add your style tags at the beginning of your ui page code after the default ui page header tags.
I hope this helps.
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2016 05:06 PM
Hi Berny, what do you mean by opening my UI Page on my browser using "Inspect"? How do I do that exactly?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2016 05:14 PM
nevermind, figured it out and it works. thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2016 07:06 AM
Cool! You're welcome!