htmldiv左右伸縮(html怎么設(shè)置左右自動)
lt!DOCTYPE htmllthtml ltheadltmeta。
if !elorigCont elorigCont = elinnerHTMLfor i=0iltni++ t += elorigContelinnerHTML = t ltSCRIPT ltDIV id=header ltH1HeadltH1ltDIV ltDIV id=middle ltDIV id=。
ltdiv style=quotwidth50%height600pxoverflowauto floatleftquotltdivltdiv style=quotwidth50%height600pxoverflowauto floatrightquotltdiv這樣就ok了,默認(rèn)時(shí)沒有滾動體,當(dāng)內(nèi)容超出了600px就自動出現(xiàn)。
掃描二維碼推送至手機(jī)訪問。
版權(quán)聲明:本文由飛速云SEO網(wǎng)絡(luò)優(yōu)化推廣發(fā)布,如需轉(zhuǎn)載請注明出處。