Div Height problem in Firefox.
Writing by Riza on Wednesday, 6 of August , 2008 at 9:54 am

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.

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.
Read More ( “Div Height problem in Firefox.” )
Leave a comment
Category: Code
- Add this post to
- Del.icio.us -
- Meneame -
- Digg