MySQL beginner |
|
Dit stukje tekst klopt al niet:
/**
fieldset
{
border: 1px solid #781351;
width: 30em;
min-height:450px;
}
legend
{
color: #000000;
background: #eaeef6;
border: 1px solid #781351;
padding: 2px 6px;
}
**/
/** fieldset { border: 1px solid #781351; width: 30em; min-height:450px; } legend { color: #000000; background: #eaeef6; border: 1px solid #781351; padding: 2px 6px; } **/
Probeer dit eens:
fieldset
{
border-width: 1px;
border-style: solid;
border-color: #781351;
width: 30px;
min-height: 450px;
}
legend
{
color: #000000;
background: #eaeef6;
border-width: 1px;
border-style: solid;
border-color: #781351;
padding: 2px;
}
fieldset { border-width: 1px; border-style: solid; border-color: #781351; width: 30px; min-height: 450px; } legend { color: #000000; background: #eaeef6; border-width: 1px; border-style: solid; border-color: #781351; padding: 2px; }
----------------
Dit klopt ook niet voor zover ik weet..
<div style="height:'10px';">
<?php
$count = 0;
foreach($rows as $row){
echo '<input type="checkbox" name="tagcheckbox[]" value="'.$row['tag_id'].'" >'.$row['tag_name'].'</input>';
if($count < 5){
$count++;
}
else{
$count = 0;
}
}
?>
</div>
<div style="height:'10px';"> <?php $count = 0; foreach($rows as $row){ echo '<input type="checkbox" name="tagcheckbox[]" value="'.$row['tag_id'].'" >'.$row['tag_name'].'</input>'; if($count < 5){ $count++; } else{ $count = 0; } } ?> </div>
probeer dit eens zo:
<div id="test">
<?php
$count = 0;
foreach($rows as $row){
echo '<input type="checkbox" name="tagcheckbox[]" value="'.$row['tag_id'].'" >'.$row['tag_name'].'</input>';
if($count < 5){
$count++;
}
else{
$count = 0;
}
}
?>
</div>
<div id="test"> <?php $count = 0; foreach($rows as $row){ echo '<input type="checkbox" name="tagcheckbox[]" value="'.$row['tag_id'].'" >'.$row['tag_name'].'</input>'; if($count < 5){ $count++; } else{ $count = 0; } } ?> </div>
En dat moet je dit nog weer toevoegen in je CSS bestand:
|