开发者

Logo problem put in frame -CSS

开发者 https://www.devze.com 2023-01-20 23:18 出处:网络
I\'m working on one site and I need frame like on http://www.thearchitecturestudio.net/. How开发者_运维问答 to put my logo(picture) like this ,overlap border ? that is flash but if you want to do that

I'm working on one site and I need frame like on http://www.thearchitecturestudio.net/. How开发者_运维问答 to put my logo(picture) like this ,overlap border ?


that is flash but if you want to do that with html try legend tag.


Ok, for example:

HTML:

<div class="logo">
    <img src="logo.jpg">
</div>
<div class="box">
    <p>some text</p>
</div>

CSS:

.logo {position:absolute;border:5px solid #fff;top:0;left:10px;}
.box {border:1px solid #000;width:500px;height:400px;}
0

精彩评论

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