开发者

Creating broken horizontal rule

开发者 https://www.devze.com 2023-01-14 02:17 出处:网络
I havee 开发者_运维技巧been looking at the source and stylesheet for the following address to work out how you can make a ... be \"surrounded\" by a broken horizontal rule. At the page http://www.join

I havee 开发者_运维技巧been looking at the source and stylesheet for the following address to work out how you can make a ... be "surrounded" by a broken horizontal rule. At the page http://www.joindiaspora.com/ there is a navigation menu having an example of it. In the html source there is used no


tag so I am thinking it must be done using the styling, but I can not work out how to do it. Ideas ?


Yes, it's with CSS, not an HR. There's a border-bottom on the #header DIV, and the #floating_nav is simply positioned over it. That nav contains a SPAN with a solid white background which covers the middle part of the border.

0

精彩评论

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