Browse Source

checkbox styling

master
n0m1s 10 years ago
parent
commit
74de9ee3f3
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      index.css
  2. +1
    -1
      index.php

+ 1
- 0
index.css View File

@ -78,6 +78,7 @@ form
input[type="checkbox"] {
display:none;
}
input[type="checkbox"] + label span {
display:inline-block;
width:19px;


+ 1
- 1
index.php View File

@ -89,7 +89,7 @@ else
$cat_titre = $categories[$cat_it]['cat_titre'];
?>
<input type="checkbox" id="cat_<?php echo $cat_id; ?>" name="cat_<?php echo $cat_id; ?>" />
<label for="cat_<?php echo $cat_id; ?>"><?php echo $cat_titre;?></label><br />
<label for="cat_<?php echo $cat_id; ?>"><span></span><?php echo $cat_titre;?></label><br />
<?php
}
}


Loading…
Cancel
Save