Wird sofort nachgeliefert

Also. Meine Ordner-Struktur sieht so aus :

Also, die Datei
custom-form-elements.js befindet sich im Ordner
javascript. Meine Design Datei
style.css befindet sich im Ordner
Design, dort habe ich den Code von der Seite eingefügt, die du mir da geschickt hast. In meiner
index.php, die sich
im Hauptordner befindet, habe ich die entsprechenden Codes eingefügt. Also
<link href="css/styles.css" rel="stylesheet" type="text/css" /> und
<script type="text/javascript" src="javascript/custom-form-elements.js"></script>, letzteres im body bereich.
Meine Checkbox sieht so aus :
<div id="reg_agb_form">
<input name="agb" type="checkbox" class="styled">
</div>
Aktuell wird keine Checkbox angezeigt sobald ich
class="styled" einfüge.
Achja, hier noch der css Code :
- Code: Alles auswählen
.checkbox, .radio {
width: 19px;
height: 25px;
padding: 0 5px 0 0;
background: url(../images/icons/checkbox.gif) no-repeat;
display: block;
clear: left;
float: left;
}
.radio {
background: url(../images/icons/radio.gif) no-repeat;
}
.select {
position: absolute;
width: 158px; /* With the padding included, the width is 190 pixels: the actual width of the image. */
height: 21px;
padding: 0 24px 0 8px;
color: #fff;
font: 12px/21px arial,sans-serif;
background: url(../images/icons/select.gif) no-repeat;
overflow: hidden;
}