标签云

微信群

扫码加入我们

WeChat QR Code

I have a site I made really fast that uses floats to display different sections of content. The floated content and the content that has an additional margin both appear fine in FF/IE, but on safari one of the divs is completely hidden. I've tried switching to padding and position:relative, but nothing has worked for me. If I take out the code to display it to the right it shows up again but under the floated content.

The main section of css that seems to be causing the problem is:

#settings{
    float:left;
}

#right_content{
    margin-top:20px;
    margin-left:440px;
    width:400px;
}

This gives me the same result whether I specify a size to the #settings div or not. Any ideas would be appreciated.

The site is available at: http://frickinsweet.com/tools/Theme.mvc.aspx to see the source code.


thanksd I started a meta discussion about your editing patterns. Please join the discussion.

2018年08月15日49分25秒