Hi,
Based on my html and jquery knowledge, you can try this:
<script type="text/javascript">$(document).ready(function() {$("spananame='DepartmentValue']").closest('table').find(tr td).css({'border':'black 1px solid', 'background':'#56FFFF'});})</script>
Table cells should be represented by <td>, so you just look for all <td> within a table and apply the css to it.
A quick tip. You can open your form in IE, Chrome, or FireFox, right-click on the table, and select "Inspect". It should allow you to view the underlying table structure. From there, it should be fairly easy to figure out how to use jquery style whatever you want.
I use this script to set the all borders and background of a table, something you can't do out the box.
The script appears in a literal data label placed inside the table. Put a label in the cell you want to modify and closest('td') might give you what you want.
<script type="text/javascript">$(document).ready(function() {$("spanpname='TableCSS']").closest('table').css({'border':'gray 1px solid', 'background':'#EBECE5'}).find('td').css('border','lightgray 1px solid');})</script>
Thanks, The script is working
<script type="text/javascript">$(document).ready(function() {$("spananame='ShortTitleLabel']").closest('table').css({'border':'black 1px solid', 'background':'#56FFFF'}).find('td').css('border','black 1px solid');})</script>