简体   繁体   English

边框悬停在div(CSS)上

[英]Border hovering over a div (CSS)

first of all I wanted to give you a fiddle instead but as I ran it, it looked correctly so obviously the problem lies somewhere else in my code and I have no idea where. 首先,我想给你一个小提琴,但是当我运行它时,它看起来正确,所以显然问题出在我代码的其他地方,我也不知道在哪里。

Basically, I want rounded borders around the 2 div columns above the footer, however they hover over the divs. 基本上,我想在页脚上方的2个div列周围使用圆角边框,但是它们悬停在div上方。 Additionally as you can see, the rounded border is hidden behind the div background in the bottom corners. 此外,如您所见,圆角边框隐藏在div背景底角的底下。 How can I fix these? 我该如何解决?

Link (sorry for the dodgy-looking link but that's the first free hosting website I could find to test the website before I actually get some proper hosting): http://pawel.net63.net/ 链接(对不起的链接,很抱歉,但这是第一个免费托管的网站,在我得到适当的托管之前,我可以找到该网站进行测试): http : //pawel.net63.net/

将背景图片放在#featured-product而非#bottom-main

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM