开发者

IE Quirks Mode - border-right not showing up

开发者 https://www.devze.com 2023-04-10 18:32 出处:网络
I\'m designing a navigatio开发者_如何学Cn bar that HAS to run in IE Quirks mode (i.e. it can\'t have a DOCTYPE tag at the top).It also needs to work in Firefox and Safari (quirks mode for safari as we

I'm designing a navigatio开发者_如何学Cn bar that HAS to run in IE Quirks mode (i.e. it can't have a DOCTYPE tag at the top). It also needs to work in Firefox and Safari (quirks mode for safari as well). My sample right now works in Safari and Firefox. (View source to see everything, css is in-lined).

My problem is that the border-right doesn't show up in IE! Any ideas?

Here is the working sample

Thanks!


I'm not suggesting this is the correct solution but if you remove the background color of rgb(255,255,255) of the #top-nav a style the bar becomes visible in IE - which I guess suggests the hyperlink (in IE's eyes) is overlapping the div border you have defined?


For nav use ul tag.

http://jsfiddle.net/bdVZ6/2/

0

精彩评论

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