CSS table-layout 灞炴


瀹炰緥

璁剧疆琛ㄦ牸鐨勫竷灞绠楁硶锛

table
{
table-layout:fixed;
}

灏濊瘯涓涓 禄

灞炴у畾涔夊強浣跨敤璇存槑

table-layout灞炴т负琛ㄨ缃〃鏍煎竷灞绠楁硶銆

榛樿鍊硷細 auto
缁ф壙锛 no
鐗堟湰锛 CSS2
JavaScript 璇硶锛 object.style.tableLayout="fixed"


娴忚鍣ㄦ敮鎸

Internet ExplorerFirefoxOperaGoogle ChromeSafari

五分快三彩贾—官方网址22270.COM鎵鏈変富娴佹祻瑙堝櫒閮芥敮鎸乼able-layout灞炴с

娉ㄦ剰锛 IE7鍜屾洿鏃╃殑鐗堟湰涓嶆敮鎸"inherit"鐨勫笺侷E8闇瑕佸畾涔夛紒DOCTYPE銆侷E9鏀寔"inherit"銆


灞炴у

鎻忚堪
automatic 榛樿銆五分快三彩贾—官方网址22270.COM鍒楀搴︾敱鍗曞厓鏍煎唴瀹硅瀹氥
fixed 鍒楀鐢辫〃鏍煎搴﹀拰鍒楀搴﹁瀹氥
inherit 瑙勫畾搴旇浠庣埗鍏冪礌缁ф壙 table-layout 灞炴х殑鍊笺


鐩稿叧鏂囩珷

CSS 鏁欑▼: CSS 琛ㄦ牸