Link to home
Create AccountLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

css make two 8's

this html makes 8

i want 88
<style>
.blackDiv
{
 float:left; width:10px; background-color:#000;   
}
.clearBothDiv
{
 clear:both; font-size:1px; background-color:#000; width:30px;   
}
.whiteDiv
{
    float:left; width:10px; background-color:#fff;
}

</style>
<div class="blackDiv">&nbsp;</div>
<div class="blackDiv">&nbsp;</div>
<div class="blackDiv">&nbsp;</div>
<div class="clearBothDiv">&nbsp;</div>
<div class="blackDiv">&nbsp;</div>
<div class="whiteDiv">&nbsp;</div>
<div class="blackDiv">&nbsp;</div>
<div class="clearBothDiv">&nbsp;</div>
<div class="blackDiv">&nbsp;</div>
<div class="blackDiv">&nbsp;</div>
<div class="blackDiv">&nbsp;</div>
<div class="clearBothDiv">&nbsp;</div>
<div class="blackDiv">&nbsp;</div>
<div class="whiteDiv">&nbsp;</div>
<div class="blackDiv">&nbsp;</div>
<div class="clearBothDiv">&nbsp;</div>
<div class="blackDiv">&nbsp;</div>
<div class="blackDiv">&nbsp;</div>
<div class="blackDiv">&nbsp;</div>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of rgb192

ASKER

both worked... thanks