MozTW 討論區 https://forum.moztw.org/ |
|
一樣用 fx 瀏覽卻有兩種顯示..@@? https://forum.moztw.org/viewtopic.php?f=13&t=13970 |
第 1 頁 (共 1 頁) |
發表人: | MLChen [ 2006-05-02, 01:27 ] | |||
文章主題 : | 一樣用 fx 瀏覽卻有兩種顯示..@@? | |||
這是我的 Blog.. http://www.wretch.cc/blog/MLChen 一樣都是用 fx 瀏覽.. 我的是這樣顯示,左邊個人資料那邊都會空一行: ![]() 而我朋友卻是正常的: ![]() 請問這是什麼問題嗎?你們顯示是跟我一樣還是跟我朋友一樣?
|
發表人: | xacid [ 2006-05-02, 07:02 ] |
文章主題 : | |
MLChen 寫:
這個css 的這一行: #boxProfile .boxProfile1 .side a{display:block;... 改成: #boxProfile .boxProfile1 .side a{display: inline;... |
發表人: | MLChen [ 2006-05-02, 14:21 ] |
文章主題 : | |
xacid 寫: MLChen 寫: 這個css 的這一行: #boxProfile .boxProfile1 .side a{display:block;... 改成: #boxProfile .boxProfile1 .side a{display: inline;... 感謝,但為何同在 fx 下會有兩種情況出現? 是我安裝了什麼嗎? |
發表人: | xacid [ 2006-05-02, 16:42 ] |
文章主題 : | |
MLChen 寫: 感謝,但為何同在 fx 下會有兩種情況出現?
是我安裝了什麼嗎? 我看到的是跟你的第一張圖一樣 或許你朋友裝了會影響網頁顯示的擴充套件吧? |
發表人: | josesun [ 2006-05-03, 07:58 ] |
文章主題 : | |
MLChen 寫: xacid 寫: MLChen 寫: 這個css 的這一行: #boxProfile .boxProfile1 .side a{display:block;... 改成: #boxProfile .boxProfile1 .side a{display: inline;... 感謝,但為何同在 fx 下會有兩種情況出現? 是我安裝了什麼嗎? 字的大小把他撐大了,所以會跑到下一行? |
發表人: | danielwang [ 2006-05-03, 09:25 ] |
文章主題 : | |
我這邊試滑鼠滑過時也會變大,應該是跟 link 會變成 block 有關 試試看 .side :link, .side :link:hover { display: block; line-height: 1em; padding: 2px; margin: 0; } 另外也建議你把 CSS 中的 a {...} 改成 :link {...} |
發表人: | xacid [ 2006-05-03, 13:53 ] |
文章主題 : | |
danielwang 寫: 我這邊試滑鼠滑過時也會變大,應該是跟 link 會變成 block 有關
原來還有 a:hover 也是 block 這樣所有 .side a:hover 都要把 block 拿掉吧?不然兩個連結之間的 <br /> 會讓它多空一行 如果使用目前 hover 的效果這樣弄也可以: 代碼: .side br{display:none;}
.side a, .side a:hover{display:block;} |
第 1 頁 (共 1 頁) | 所有顯示的時間為 UTC + 8 小時 |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |