Hallo,
ich bastel gerade ien wenig mit jQuery herum, dabei bin ich auf das Plugin jforms gestossen: http://plugins.jquery.com/project/jForms
Leider kommt es auf meiner Homepage im Bereich der <textarea> zu einem Anzeigefehler :-( Und ich finde einfach keine Lösung...
Seite mit Fehler: http://ug-team.de/index.php?seite=1&logout=1
Beispiel vom Scripter: http://hazelryan.co.uk/free_scripts/jforms
CSS Datei: http://ug-team.de/style.css
HTML Bereich der Textarea:
CSS Bereich von jforms:
ich bastel gerade ien wenig mit jQuery herum, dabei bin ich auf das Plugin jforms gestossen: http://plugins.jquery.com/project/jForms
Leider kommt es auf meiner Homepage im Bereich der <textarea> zu einem Anzeigefehler :-( Und ich finde einfach keine Lösung...
Seite mit Fehler: http://ug-team.de/index.php?seite=1&logout=1
Beispiel vom Scripter: http://hazelryan.co.uk/free_scripts/jforms
CSS Datei: http://ug-team.de/style.css
HTML Bereich der Textarea:
Code:
<dl> <dt><label for="nachricht">Nachricht:</label></dt> <dd> <div style="width: 365px; height: 187px;" class="txtarea" id="textareainput_fake"> <div class="tr"> <img src="js/images/jform/txtarea_tl.gif" class="txt_corner" alt="Formular Optik Rand" /> </div> <div class="cntr"> <div style="height: 177px;" class="cntr_l"></div> <textarea id="nachricht" name="nachricht" rows="10" cols="60"></textarea> </div> <div class="br"> <img src="js/images/jform/txtarea_bl.gif" class="txt_corner" alt="Formular Optik Rand" /> </div> </div> </dd> </dl>
Code:
/*Formular Optik*/ form.niceforms{ line-height:normal; } .niceforms input, .niceforms textarea { font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#404040; border:0px; line-height:normal; } label { color:#999; cursor:pointer; padding-left:2px; line-height:16px; } label.chosen {color:#333;} /*Transparent items*/ .outtaHere { position:absolute; left:-6000px; } /*Radio buttons*/ .radioArea, .radioAreaChecked { display:block; float:left; clear:left; width:15px; height:14px; font-size:0; cursor:pointer; } .radioArea {background:url(js/images/jform/radio.gif) no-repeat left top;} .radioAreaChecked {background:url(js/images/jform/radio.gif) no-repeat left bottom;} /*Checkboxes*/ .checkboxArea, .checkboxAreaChecked { display:block; float:left; clear:left; width:13px; height:13px; font-size:0; padding:0; margin:0; cursor:pointer; } .checkboxArea {background:url(js/images/jform/checkbox.gif) no-repeat left top;} .checkboxAreaChecked {background:url(js/images/jform/checkbox.gif) no-repeat left bottom;} .focused {border:1px dotted #ddd;} /*Text inputs*/ .textinput, .textinputHovered { height:15px; background:url(js/images/jform/input_bg.gif) repeat-x left top; border:none; padding:4px 0; vertical-align:middle; } .textinputHovered {background-position:left bottom;} .inputCorner { padding-bottom:0; vertical-align:middle; } /*Text areas*/ .txtarea .tr, .txtarea .tr_xon {background:url(js/images/jform/txtarea_tr.gif) no-repeat top right;} .txtarea .tr_xon {background:url(js/images/jform/txtarea_tr_xon.gif) no-repeat top right;} .txtarea img.txt_corner { width:5px; height:5px; display:block; } .txtarea .br, .txtarea .br_xon {background:url(js/images/jform/txtarea_br.gif) no-repeat top right;} .txtarea .br_xon {background:url(js/images/jform/txtarea_br_xon.gif) no-repeat top right;} .txtarea .cntr {background:url(js/images/jform/txtarea_cntr.gif) repeat-y right top;} .txtarea .cntr_xon {background:url(js/images/jform/txtarea_cntr_xon.gif) repeat-y right top;} .txtarea .cntr_l, .txtarea .cntr_l_xon { width:5px; background:url(js/images/jform/txtarea_l.gif) repeat-y left top; float:left; } .txtarea .cntr_l_xon {background:url(js/images/jform/txtarea_l_xon.gif) repeat-y left top;} .txtarea textarea { border:0; background:none; padding:0; margin:5px; } /*Selects*/ .selectArea { height:21px; background:url(js/images/jform/select_bg.gif) repeat-x left top; } .selectArea .left { width:8px; height:21px; float:left; background:url(js/images/jform/select_left.gif) no-repeat left top; } .selectArea .right { width:21px; height:21px; float:right; background:url(js/images/jform/select_right.gif) no-repeat left top; } .selectArea .right a { display:block; width:21px; height:21px; position:absolute; } .selectArea .right i {display:none;} .selectArea .center { width:160px; color:#FFF; padding-top:3px; overflow:hidden; white-space:nowrap; border:0px; vertical-align:middle; background:transparent; } /*Selects drop-down*/ .fake_list { background:#6f7074; padding:2px; z-index:1000; list-style-type:none; font-size:11px; margin:0px; position:absolute; float:left; overflow:auto; } ul.fake_list li { color:#F2F2F2; padding:0px 2px 0px 10px; border:1px solid #6f7074; margin:0px; clear:none; } .fake_list li.selected { color:#FFF; background:#5F6062; border-color:#cfd0d6; } /*Button*/ .niceforms .buttonSubmit, .niceforms .buttonSubmitHovered { width:auto; height:26px; color:#FFF; font-weight:bold; padding:2px; background:url(js/images/jform/button_bg.gif) repeat-x left top; cursor:pointer; border:none; } .niceforms .buttonSubmitHovered {background-position:left bottom;} .niceforms .buttonImg {vertical-align:bottom;}
Kommentar