[英]ie7 float div left padding issue
I am trying to fix this site's ie7 issue with the bottom columns. 我正在尝试用底部的列修复该网站的 ie7问题。 The 3 columns should total 960px and take the whole width of the container, but for some reason there is an issue with the padding.
3列总计为960px,并占据了容器的整个宽度,但是由于某种原因,填充存在问题。 I have checked the lastest firefox/chrome and it works great.
我已经检查了最新的firefox / chrome,效果很好。 If anybody could help me with this that would be great Cheers
如果有人可以帮助我,那就太好了
尝试使用以下文档类型:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
I'm not very sure but try displaying inline the floated elements. 我不太确定,但请尝试内联显示浮动元素。
.selector{
display:inline;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.