IE6 problem, please ask a master_html/css_WEB-ITnose
Jun 24, 2016 pm 12:24 PM
ie6
The status under Firefox is normalThere is a problem under IE6
Please solve it
.game{ border-top:2px solid #ba7848; background:#FFF; border-right:2px solid #ba7848; position:relative;}.game ul.game_menu{ float:left; width:202px;}.game ul.game_menu li{ width:202px; height:134px; cursor:pointer;text-align:center; border-left:2px solid #bebebe; border-bottom:2px solid #bebebe;}.game ul.game_menu li img{ margin-top:11px;}.game ul.game_menu li.li_active{ width:202px; position:relative; z-index:10; display:inline-block; border-left:2px solid #ba7848; border-bottom:2px solid #ba7848; background:#FFF;}.game_content{ min-height:376px; _height:376px; border-bottom:2px solid #ba7848; border-left:2px solid #ba7848; width:724px; _width:722px; float:left; padding:15px 25px;}
Reply to discussion (solution)
I have encountered this problem, it seems to be like this before ie7, and I can't solve it. The white border cannot cover other colored borders?
I have encountered this problem before. It seems to be like this in IE7 and below. I can't solve it. The white border can't cover other colored borders?
The white background covers the colored border
Then the last problem is not solved?
I have encountered this problem before. It seems to be like this in IE7 and below. I can't solve it. The white border cannot cover other colored borders?
The white background covers the colored border
Then the last problem is not solved?
No
I have encountered this problem before. It seems to be like this in ie7 and below. I can't solve it. The white border can't cover other colored borders?
The white background covers the colored border
Then the last problem is not solved?
Nope
It’s so deserted here
Post an html code to see if the location is correct.
Post an html code to see if the location is correct. Right
<div class="game"><ul class="game_menu" id="game_menu"><li e_offer_id="1" class="li_active"><img src="img/game_li_1.jpg" width="167" height="113" /></li><li e_offer_id="2"><img src="img/game_li_2.jpg" width="167" height="113" /></li><li e_offer_id="3"><img src="img/game_li_3.jpg" width="167" height="113" /></li></ul><div class="game_content"><div class="game_content1" e_offer_id="1"><div class="game_title"><h3>[試玩]街機(jī)三國(guó)-新手送501經(jīng)驗(yàn)值,獲200鳳凰讀書幣<img src="img/jishifanbi.png" /></h3><span>推薦<img src="img/tuijian.png" /></span><div class="clr"></div></div><div class="game_main"><div class="game_go"><div class="game_rmb"><span>+1075</span>鳳凰讀書幣</div><div class="game_btn"><a href="#"><img src="img/btn.png" /></a></div><div class="clr"></div></div><div class="game_txt"><p>62546人已參與</p><div class="game_time"><div class="game_end">結(jié)束時(shí)間:2013-08-31 10:00<em>|</em></div><div class="game_jishi"><span>僅剩:</span><ul><li><span>00</span>天</li><li><span>00</span>時(shí)</li><li><span>00</span>分</li><li><span>00</span>秒</li></ul><div class="clr"></div></div></div><div class="clr"></div></div><div class="game_list"><div class="game_list_title"><h4>任務(wù)詳情</h4><span>完成任務(wù)后審核十分鐘,由系統(tǒng)自動(dòng)發(fā)放獎(jiǎng)勵(lì)</span><div class="clr"></div></div><div class="game_list_main"><table cellpadding="0" cellspacing="0"><tr><th>步驟</th><th>人物等級(jí)</th><th>獎(jiǎng)勵(lì)</th><th>狀態(tài)</th></tr><tr><td>1</td><td>游戲等級(jí)達(dá)到<span>10級(jí)</span></td><td><span>+100鳳凰讀書幣</span></td><td><em>待審核</em></td></tr><tr><td>2</td><td>游戲等級(jí)達(dá)到<span>15級(jí)</span></td><td><span>+125鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>3</td><td>游戲等級(jí)達(dá)到<span>25級(jí)</span></td><td><span>+150鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>4</td><td>游戲等級(jí)達(dá)到<span>30級(jí)</span></td><td><span>+250鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>5</td><td>游戲等級(jí)達(dá)到<span>35級(jí)</span></td><td><span>+300鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>6</td><td>游戲等級(jí)達(dá)到<span>40級(jí)</span></td><td><span>+400鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>7</td><td>游戲等級(jí)達(dá)到<span>45級(jí)</span></td><td><span>+500鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>8</td><td>游戲等級(jí)達(dá)到<span>50級(jí)</span></td><td><span>+600鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>9</td><td>游戲等級(jí)達(dá)到<span>55級(jí)</span></td><td><span>+700鳳凰讀書幣</span></td><td>未完成</td></tr></table></div></div></div></div><div class="game_content2" e_offer_id="2"><div class="game_title"><h3>[試玩]神將三國(guó)-新手送501經(jīng)驗(yàn)值,獲200鳳凰讀書幣<img src="img/jishifanbi.png" /></h3><span>推薦<img src="img/tuijian.png" /></span><div class="clr"></div></div><div class="game_main"><div class="game_go"><div class="game_rmb"><span>+1075</span>鳳凰讀書幣</div><div class="game_btn"><a href="#"><img src="img/btn.png" /></a></div><div class="clr"></div></div><div class="game_txt"><p>62546人已參與</p><div class="game_time"><div class="game_end">結(jié)束時(shí)間:2013-08-31 10:00<em>|</em></div><div class="game_jishi"><span>僅剩:</span><ul><li><span>00</span>天</li><li><span>00</span>時(shí)</li><li><span>00</span>分</li><li><span>00</span>秒</li></ul><div class="clr"></div></div></div><div class="clr"></div></div><div class="game_list"><div class="game_list_title"><h4>任務(wù)詳情</h4><span>完成任務(wù)后審核十分鐘,由系統(tǒng)自動(dòng)發(fā)放獎(jiǎng)勵(lì)</span><div class="clr"></div></div><div class="game_list_main"><table cellpadding="0" cellspacing="0"><tr><th>步驟</th><th>人物等級(jí)</th><th>獎(jiǎng)勵(lì)</th><th>狀態(tài)</th></tr><tr><td>1</td><td>游戲等級(jí)達(dá)到<span>10級(jí)</span></td><td><span>+100鳳凰讀書幣</span></td><td><span>已完成</span></td></tr><tr><td>2</td><td>游戲等級(jí)達(dá)到<span>15級(jí)</span></td><td><span>+125鳳凰讀書幣</span></td><td><em>待審核</em></td></tr><tr><td>3</td><td>游戲等級(jí)達(dá)到<span>25級(jí)</span></td><td><span>+150鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>4</td><td>游戲等級(jí)達(dá)到<span>30級(jí)</span></td><td><span>+250鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>5</td><td>游戲等級(jí)達(dá)到<span>35級(jí)</span></td><td><span>+300鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>6</td><td>游戲等級(jí)達(dá)到<span>40級(jí)</span></td><td><span>+400鳳凰讀書幣</span></td><td>未完成</td></tr></table></div></div></div></div><div class="game_content3" e_offer_id="3"><div class="game_title"><h3>[試玩]戰(zhàn)三國(guó)-新手送501經(jīng)驗(yàn)值,獲200鳳凰讀書幣<img src="img/jishifanbi.png" /></h3><span>推薦<img src="img/tuijian.png" /></span><div class="clr"></div></div><div class="game_main"><div class="game_go"><div class="game_rmb"><span>+1075</span>鳳凰讀書幣</div><div class="game_btn"><a href="#"><img src="img/btn.png" /></a></div><div class="clr"></div></div><div class="game_txt"><p>62546人已參與</p><div class="game_time"><div class="game_end">結(jié)束時(shí)間:2013-08-31 10:00<em>|</em></div><div class="game_jishi"><span>僅剩:</span><ul><li><span>00</span>天</li><li><span>00</span>時(shí)</li><li><span>00</span>分</li><li><span>00</span>秒</li></ul><div class="clr"></div></div></div><div class="clr"></div></div><div class="game_list"><div class="game_list_title"><h4>任務(wù)詳情</h4><span>完成任務(wù)后審核十分鐘,由系統(tǒng)自動(dòng)發(fā)放獎(jiǎng)勵(lì)</span><div class="clr"></div></div><div class="game_list_main"><table cellpadding="0" cellspacing="0"><tr><th>步驟</th><th>人物等級(jí)</th><th>獎(jiǎng)勵(lì)</th><th>狀態(tài)</th></tr><tr><td>1</td><td>游戲等級(jí)達(dá)到<span>10級(jí)</span></td><td><span>+100鳳凰讀書幣</span></td><td><em>待審核</em></td></tr><tr><td>2</td><td>游戲等級(jí)達(dá)到<span>15級(jí)</span></td><td><span>+125鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>3</td><td>游戲等級(jí)達(dá)到<span>25級(jí)</span></td><td><span>+150鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>4</td><td>游戲等級(jí)達(dá)到<span>30級(jí)</span></td><td><span>+250鳳凰讀書幣</span></td><td>未完成</td></tr></table></div></div></div></div></div>
After testing, it seems that the ie6 position relative positioning cannot be separated from the parent container. If it does not work, just change it to an absolute definition.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><style>ul{list-style:none;margin:0px;padding:0px}.game{ border-top:2px solid #ba7848; background:#FFF; border-right:2px solid #ba7848; position:relative;overflow:auto;zoom:1}.game ul.game_menu{ float:left; width:202px;position:relative}.game ul.game_menu li{ width:202px; height:134px; cursor:pointer;text-align:center; border-left:2px solid #bebebe; border-bottom:2px solid #bebebe;}.game ul.game_menu li img{ margin-top:11px;}.game ul.game_menu li.li_active{ width:202px;_width:204px;left:0px;top:0px; position:absolute; z-index:10; display:inline-block; border-left:2px solid #ba7848; border-bottom:2px solid #ba7848;background:#fff ;}.game ul.game_menu li.margin{margin-top:135px}.game_content{ min-height:376px; _height:376px; border-bottom:2px solid #ba7848; border-left:2px solid #ba7848; width:724px; _width:722px; float:left; padding:15px 25px;}</style><div class="game"><ul class="game_menu" id="game_menu"><li e_offer_id="2" class="margin"><img src="img/game_li_2.jpg" width="167" height="113" /></li><li e_offer_id="3"><img src="img/game_li_3.jpg" width="167" height="113" /></li><!--絕對(duì)定位的對(duì)象放到最后,要不margin沒(méi)效果--><li e_offer_id="1" class="li_active"><img src="img/game_li_1.jpg" width="167" height="113" /></li></ul><div class="game_content"><div class="game_content1" e_offer_id="1"><div class="game_title"><h3>[試玩]街機(jī)三國(guó)-新手送501經(jīng)驗(yàn)值,獲200鳳凰讀書幣<img src="img/jishifanbi.png" /></h3><span>推薦<img src="img/tuijian.png" /></span><div class="clr"></div></div><div class="game_main"><div class="game_go"><div class="game_rmb"><span>+1075</span>鳳凰讀書幣</div><div class="game_btn"><a href="#"><img src="img/btn.png" /></a></div><div class="clr"></div></div><div class="game_txt"><p>62546人已參與</p><div class="game_time"><div class="game_end">結(jié)束時(shí)間:2013-08-31 10:00<em>|</em></div><div class="game_jishi"><span>僅剩:</span><ul><li><span>00</span>天</li><li><span>00</span>時(shí)</li><li><span>00</span>分</li><li><span>00</span>秒</li></ul><div class="clr"></div></div></div><div class="clr"></div></div><div class="game_list"><div class="game_list_title"><h4>任務(wù)詳情</h4><span>完成任務(wù)后審核十分鐘,由系統(tǒng)自動(dòng)發(fā)放獎(jiǎng)勵(lì)</span><div class="clr"></div></div><div class="game_list_main"><table cellpadding="0" cellspacing="0"><tr><th>步驟</th><th>人物等級(jí)</th><th>獎(jiǎng)勵(lì)</th><th>狀態(tài)</th></tr><tr><td>1</td><td>游戲等級(jí)達(dá)到<span>10級(jí)</span></td><td><span>+100鳳凰讀書幣</span></td><td><em>待審核</em></td></tr><tr><td>2</td><td>游戲等級(jí)達(dá)到<span>15級(jí)</span></td><td><span>+125鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>3</td><td>游戲等級(jí)達(dá)到<span>25級(jí)</span></td><td><span>+150鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>4</td><td>游戲等級(jí)達(dá)到<span>30級(jí)</span></td><td><span>+250鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>5</td><td>游戲等級(jí)達(dá)到<span>35級(jí)</span></td><td><span>+300鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>6</td><td>游戲等級(jí)達(dá)到<span>40級(jí)</span></td><td><span>+400鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>7</td><td>游戲等級(jí)達(dá)到<span>45級(jí)</span></td><td><span>+500鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>8</td><td>游戲等級(jí)達(dá)到<span>50級(jí)</span></td><td><span>+600鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>9</td><td>游戲等級(jí)達(dá)到<span>55級(jí)</span></td><td><span>+700鳳凰讀書幣</span></td><td>未完成</td></tr></table></div></div></div></div><div class="game_content2" e_offer_id="2"><div class="game_title"><h3>[試玩]神將三國(guó)-新手送501經(jīng)驗(yàn)值,獲200鳳凰讀書幣<img src="img/jishifanbi.png" /></h3><span>推薦<img src="img/tuijian.png" /></span><div class="clr"></div></div><div class="game_main"><div class="game_go"><div class="game_rmb"><span>+1075</span>鳳凰讀書幣</div><div class="game_btn"><a href="#"><img src="img/btn.png" /></a></div><div class="clr"></div></div><div class="game_txt"><p>62546人已參與</p><div class="game_time"><div class="game_end">結(jié)束時(shí)間:2013-08-31 10:00<em>|</em></div><div class="game_jishi"><span>僅剩:</span><ul><li><span>00</span>天</li><li><span>00</span>時(shí)</li><li><span>00</span>分</li><li><span>00</span>秒</li></ul><div class="clr"></div></div></div><div class="clr"></div></div><div class="game_list"><div class="game_list_title"><h4>任務(wù)詳情</h4><span>完成任務(wù)后審核十分鐘,由系統(tǒng)自動(dòng)發(fā)放獎(jiǎng)勵(lì)</span><div class="clr"></div></div><div class="game_list_main"><table cellpadding="0" cellspacing="0"><tr><th>步驟</th><th>人物等級(jí)</th><th>獎(jiǎng)勵(lì)</th><th>狀態(tài)</th></tr><tr><td>1</td><td>游戲等級(jí)達(dá)到<span>10級(jí)</span></td><td><span>+100鳳凰讀書幣</span></td><td><span>已完成</span></td></tr><tr><td>2</td><td>游戲等級(jí)達(dá)到<span>15級(jí)</span></td><td><span>+125鳳凰讀書幣</span></td><td><em>待審核</em></td></tr><tr><td>3</td><td>游戲等級(jí)達(dá)到<span>25級(jí)</span></td><td><span>+150鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>4</td><td>游戲等級(jí)達(dá)到<span>30級(jí)</span></td><td><span>+250鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>5</td><td>游戲等級(jí)達(dá)到<span>35級(jí)</span></td><td><span>+300鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>6</td><td>游戲等級(jí)達(dá)到<span>40級(jí)</span></td><td><span>+400鳳凰讀書幣</span></td><td>未完成</td></tr></table></div></div></div></div><div class="game_content3" e_offer_id="3"><div class="game_title"><h3>[試玩]戰(zhàn)三國(guó)-新手送501經(jīng)驗(yàn)值,獲200鳳凰讀書幣<img src="img/jishifanbi.png" /></h3><span>推薦<img src="img/tuijian.png" /></span><div class="clr"></div></div><div class="game_main"><div class="game_go"><div class="game_rmb"><span>+1075</span>鳳凰讀書幣</div><div class="game_btn"><a href="#"><img src="img/btn.png" /></a></div><div class="clr"></div></div><div class="game_txt"><p>62546人已參與</p><div class="game_time"><div class="game_end">結(jié)束時(shí)間:2013-08-31 10:00<em>|</em></div><div class="game_jishi"><span>僅剩:</span><ul><li><span>00</span>天</li><li><span>00</span>時(shí)</li><li><span>00</span>分</li><li><span>00</span>秒</li></ul><div class="clr"></div></div></div><div class="clr"></div></div><div class="game_list"><div class="game_list_title"><h4>任務(wù)詳情</h4><span>完成任務(wù)后審核十分鐘,由系統(tǒng)自動(dòng)發(fā)放獎(jiǎng)勵(lì)</span><div class="clr"></div></div><div class="game_list_main"><table cellpadding="0" cellspacing="0"><tr><th>步驟</th><th>人物等級(jí)</th><th>獎(jiǎng)勵(lì)</th><th>狀態(tài)</th></tr><tr><td>1</td><td>游戲等級(jí)達(dá)到<span>10級(jí)</span></td><td><span>+100鳳凰讀書幣</span></td><td><em>待審核</em></td></tr><tr><td>2</td><td>游戲等級(jí)達(dá)到<span>15級(jí)</span></td><td><span>+125鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>3</td><td>游戲等級(jí)達(dá)到<span>25級(jí)</span></td><td><span>+150鳳凰讀書幣</span></td><td>未完成</td></tr><tr><td>4</td><td>游戲等級(jí)達(dá)到<span>30級(jí)</span></td><td><span>+250鳳凰讀書幣</span></td><td>未完成</td></tr></table></div></div></div></div></div>
After testing, it seems that ie6 position relative positioning cannot be separated from the parent container. If it does not work, just change it to absolute definition
Still not working
After testing, it seems that ie6 position relative positioning cannot be separated from the parent container. Container, if it doesn’t work, just change it to absolute definition
Still doesn’t work
IEtester tested it and there was no problem. Did you copy the code I sent? .
IE6 can basically be ignored
After testing, it seems that the position relative positioning of ie6 cannot be separated from the parent container. If it does not work, just change it to absolute definition
Still Nope
IEtester tested it and there was no problem. Did you copy the code I sent? .
IE6 can basically be ignored
This is the case. There are 6 li's in my game_menu, and only the first three are displayed. At the same time, I wrote a reordering, shuffled the order, and randomly appeared three rows. , so should the activated li be placed after the 6th one or after the third one?

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

The key to keep up with HTML standards and best practices is to do it intentionally rather than follow it blindly. First, follow the summary or update logs of official sources such as WHATWG and W3C, understand new tags (such as) and attributes, and use them as references to solve difficult problems; second, subscribe to trusted web development newsletters and blogs, spend 10-15 minutes a week to browse updates, focus on actual use cases rather than just collecting articles; second, use developer tools and linters such as HTMLHint to optimize the code structure through instant feedback; finally, interact with the developer community, share experiences and learn other people's practical skills, so as to continuously improve HTML skills.

To reduce the size of HTML files, you need to clean up redundant code, compress content, and optimize structure. 1. Delete unused tags, comments and extra blanks to reduce volume; 2. Move inline CSS and JavaScript to external files and merge multiple scripts or style blocks; 3. Simplify label syntax without affecting parsing, such as omitting optional closed tags or using short attributes; 4. After cleaning, enable server-side compression technologies such as Gzip or Brotli to further reduce the transmission volume. These steps can significantly improve page loading performance without sacrificing functionality.

HTMLhasevolvedsignificantlysinceitscreationtomeetthegrowingdemandsofwebdevelopersandusers.Initiallyasimplemarkuplanguageforsharingdocuments,ithasundergonemajorupdates,includingHTML2.0,whichintroducedforms;HTML3.x,whichaddedvisualenhancementsandlayout

It is a semantic tag used in HTML5 to define the bottom of the page or content block, usually including copyright information, contact information or navigation links; it can be placed at the bottom of the page or nested in, etc. tags as the end of the block; when using it, you should pay attention to avoid repeated abuse and irrelevant content.

ThetabindexattributecontrolshowelementsreceivefocusviatheTabkey,withthreemainvalues:tabindex="0"addsanelementtothenaturaltaborder,tabindex="-1"allowsprogrammaticfocusonly,andtabindex="n"(positivenumber)setsacustomtabbing

To embed videos in HTML, use tags and specify the video source and attributes. 1. Use src attributes or elements to define the video path and format; 2. Add basic attributes such as controls, width, height; 3. To be compatible with different browsers, you can list MP4, WebM, Ogg and other formats; 4. Use controls, autoplay, muted, loop, preload and other attributes to control the playback behavior; 5. Use CSS to realize responsive layout to ensure that it is adapted to different screens. Correct combination of structure and attributes can ensure good display and functional support of the video.

To create HTML text areas, use elements, and customize them through attributes and CSS. 1. Use basic syntax to define the text area and set properties such as rows, cols, name, placeholder, etc.; 2. You can accurately control the size and style through CSS, such as width, height, padding, border, etc.; 3. When submitting the form, you can identify the data through the name attribute, and you can also obtain the value for front-end processing.

Adeclarationisaformalstatementthatsomethingistrue,official,orrequired,usedtoclearlydefineorannounceanintent,fact,orrule.Itplaysakeyroleinprogrammingbydefiningvariablesandfunctions,inlegalcontextsbyreportingfactsunderoath,andindailylifebymakingintenti
