/ Published in: HTML
Expand |
Embed | Plain Text
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> #test input.text { background-color:red !important; width:270px;height:25px; padding:0px 5px; font-size:12px;line-height:25px; color:#333 !important; float:left; border:1px inset #666; } #test input[type=text] { background-color:green !important; width:270px;height:25px; padding:0px 5px; font-size:12px;line-height:25px; color:#333 !important; float:left; border:1px inset #666; } </style> <!-- IE6 and IE7 FIX: WIll add class in jsview --> <script type="text/javascript"> // <![CDATA[ $(document).ready(function(){ $("#test input[type=text]").addClass("text"); $("#module_global-form div input[type=submit]").addClass("submit"); $(".form-section .section_content div input[id*=date]").addClass("text_short"); $(".form-section .section_content div input[id*=time]").addClass("text_short"); $(".form-section .section_content div input[id*=vehicles]").addClass("text_short"); $(".form-section .section_content div input[id*=dob]").addClass("text_short"); $(".form-section .section_content div input[id*=age]").addClass("text_short"); $(".form-section .section_content div input[id*=grade]").addClass("text_short"); $(".form-section .section_content div input[id*=attendance]").addClass("text_short"); $(".form-section .section_content div input[id*=school_phone]").addClass("text_short"); }); // ]]> </script> </head> <body> <div id="test"> </div> </body> </html>
You need to login to post a comment.
