Problem CSS web background [closed]

-2

Why do I get between the first and second element of my web (div) without the blank space if I have a transparent background or a white background?

I leave my website: link

I leave you my CSS code:

*{
    margin-top:  4px;
    margin-bottom: 4px;
}


#todo{
    width: 750px;
    height: 100px;
    font-family: "Times New Roman";
    font-size: 14;
    margin: auto;
    background: transparent; //esto tendría que hacer efecto...
}


div{
    background-color: #00FFFF;
}


img{
    float: left;
    width: 96px;
    height: 60px;

}


.columna{
    float: left;
    width: 280px;
    padding-left: 5px;
}


.descripcion{
    clear: left;
}
    
asked by omaza1990 09.01.2017 в 09:29
source

1 answer

1

The problem comes because the container you use (#all) also has the background color blue because you apply it to all the DIV and the background property of #all is not applied. Change it to: background-color: transparent

Edited: with background it should work (I've done the test), make sure that the css of the server is updated with the indicated configuration because the one that downloads the browser does not appear that property. link

    
answered by 09.01.2017 / 09:53
source