看板 Web_Design 關於我們 聯絡資訊
http://140.117.74.207/~sweetwords/TEST/ 主要是這頁屬性,用 IE 看兩邊的 boder line 會連到邊界 可是用 firefox 會缺一點點,這是啥問題呢 ._.? 我 CSS 主要是這樣寫 /* CSS Document */ Body { margin:0px; font-size:12px; } /*網頁主體*/ #container{ width:950px; height:768px; border-left:1px solid #ccc; border-right:1px solid #ccc; background-image:url(images/bg.jpg); } /*讀取資訊*/ .thesis_reading{ top:70px; left:35px; position:relative; } .thesis_reading a{ text-decoration:underline; color:#336699; } -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.117.194.56
chph:div.thesis_reading 使用相對定位,卻沒有減少寬,造成水平溢出 09/12 10:48
chph:.thesis_reading {width:800px;} 09/12 10:48
chph:或是你要用 #container {overflow:hidden;} 也可以 09/12 10:48
sweetwords:我解瞭意思了 感謝樓上 :D 09/12 11:09