开发者

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">
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜