我有IE6。IE6背景錯位
[編輯:你可以看到模板住在這裏:http://themeforest.net/item/aqua-terra-lava-html-blog-portfolio-/full_screen_preview/53209]
我有一個模板,用3 <a></a>
改變其背景,創建一個按鈕效果的位置。
這是它的外觀在任何瀏覽器
Any Browser http://i45.tinypic.com/2s7vome.png
這是它與IE6:
IE6 http://i48.tinypic.com/2mmsbxu.png
這CSS代碼:
#featured-nav { width: 944px; height: 131px; background: url(/images/site/shadow.gif) bottom center no-repeat; } #featured-nav a { height: 35px; float: left; cursor: pointer; display: block; padding: 47px 20px 20px 120px; font-size: 12px; line-height: 16px; text-decoration: none; font-weight: normal; color: #777; } #featured-nav a span { margin-top: 10px; height: 30px; width: 150px; font-size: 12px; text-transform: uppercase; color: #5aa0b1; font-weight: bold; position: absolute; top: 12px; left: 120px; } #featured-nav a img { position: absolute; left: 40px; top: 23px; } #featured-nav a.left { background: url(/images/site/leftbutton.png) top left no-repeat; width: 178px; overflow: hidden; position: relative; } #featured-nav a.left:hover, #featured-nav a.left.activeSlide { background: url(/images/site/leftbutton.png) bottom left no-repeat; } #featured-nav a.middle { background: url(/images/site/middlebutton.png) top left no-repeat; width: 174px; overflow: hidden; position: relative; } #featured-nav a.middle:hover, #featured-nav a.middle.activeSlide { background: url(/images/site/middlebutton.png) bottom left no-repeat; } #featured-nav a.right { background: url(/images/site/rightbutton.png) top left no-repeat; width: 172px; overflow: hidden; position: relative; } #featured-nav a.right:hover, #featured-nav a.right.activeSlide { background: url(/images/site/rightbutton.png) bottom left no-repeat; } .content-wrapper { width: 678px; overflow: hidden; margin-top: 10px; margin-left: 8px; }
任何想法?
謝謝。
停止支持IE6 – Jason 2010-01-10 22:25:06