IE, Firefox mismatch with div attributes
In Firefox, div takes the entire space available horizontally and starts from a new row if we don't give float:left
, while in IE it 开发者_JAVA技巧doesn't.
Have you set your doc type in the IE header?
e.g
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
精彩评论