Div Height problem in Firefox.

Since i start working with XHTML format, i have this problem Div acting different in FF, and sometimes i add exact height for solving that problem but now finally i found the solution. and i really love to share it with you, because i know this problem is so common to all people.

HTML CODE:
<div id=”content”></div>

CSS CODE:
#content {
display:table;
margin:0 auto;
background-color:#FFFFFF;
width:965px;
}

yes folks just put display:table; in your css.

Continue reading