How to use clear gap inside the div (css and Xhtml code)

body
{
text-align: center;
padding: 0px 0px 0px 0px;
margin: 0px auto;
vertical-align:top;
font-family:Verdana, Arial, Helvetica, sans-serif;
background-color: #181123;
font-size:12px;
line-height: 16px;
color:#333333;
text-align:left;
background: url(../images/bg.jpg) no-repeat center center fixed;
}

#container
{
width: 990px;
height: auto;   /*important */
margin: 0px auto 0px auto;
padding: 0px 0px 0px 0px;
border: 1px solid #00FF00;
}

div.clgap{
clear: both;
width: 100%;
height: 0px;
padding: 0px;
margin: 0px;
}

 

Leave a Reply

Your email address will not be published. Required fields are marked *