To keep the text INPUTs and TEXTAREAs as wide as possible, but other
inputs small, I added a JavaScript snippet to ensure the text elements
have a CSS-addressable class ('text'); then I updated the stylesheet
to only set 'text' inputs 100% wide.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@803
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
--- /dev/null
+$(function() {
+ // make sure all INPUT and TEXTAREA elements are in the 'text' class, for CSS.
+ $('input:text,textarea').addClass('textinput');
+});
\ No newline at end of file
.metadata_table tbody td {
padding: 8px; border: #ddd 1px solid;
}
-.metadata_table input { width: 600px; }
+.metadata_table .textinput { width: 600px; }
.metadata_table .meta3 input { width: 10px; }
.metadata_table tbody th {
using the trunk version of jquery to get around some IE 8 problems
-->
<script type="text/javascript" src="${ROOT}/static/jquery/js/jquery.js"/>
+ <script type="text/javascript" src="${ROOT}/static/common.js"/>
<!--
<script type="text/javascript" src="${ROOT}/static/jquery/js/jquery-1.3.2.min.js"/>
-->