[問題] 網頁高度無法顯示100%?

看板Web_Design作者 (殺人電風扇)時間16年前 (2008/06/18 13:35), 編輯推噓2(203)
留言5則, 3人參與, 最新討論串1/2 (看更多)
用google的picasa的Slideshow做了一個相簿的網頁 我稍微修改了他的語法 想讓使用者可以顯示全螢幕的Slideshow 於是我把他的長度&寬度改成100% 然後在ie核心的瀏覽器看都很正常 可以正確顯示100%的Slideshow 但是用火狐(3.0)就沒辦法 他只有寬度會100% 高度就只有小小的一排在上面 附上相簿的網頁 http://eric8347.miroko.tw/pic_0129.htm 請問有辦法解決嗎? 還是火狐沒辦法用100%,一定要用數值? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "" rel="nofollow">http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=big5"> <title>08.01.29~08.01.31 恆春半島單車之旅</title> <style type="text/css"> <!-- body { background-color: #000000; height:100%; width:100%; clear:both; } --> </style></head> <body> <div style="width:100% height=100%;font-family:arial,sans-serif;font- size:13px;"><div><embed type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" width="100%" height="100%" flashvars="host=picasaweb.google.com&captions=1&noautoplay=1&RGB=0x000000&feed=h ttp%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Ftourdetaiwan0129% 2Falbumid%2F5212494098650006561%3Fkind%3Dphoto%26alt%3Drss" pluginspage="" rel="nofollow">http://www.macromedia.com/go/getflashplayer"></embed> </div><span style="float:left;"><a href="http://picasaweb.google.com/tourdetaiwan0129/08012931" style="color:#3964c2">View Album</a></span><div style="text-align:right;"><a href="http://picasaweb.google.com/lh/getEmbed" style="color:#3964c2">Get your own</a></div></div> </body> </html> 我是這樣改的 可是還是沒辦法耶╮(╯_╰)╭ 是哪邊需要修正嗎?? -- http://eric8347.blogspot.com -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 58.115.20.72

06/18 14:05, , 1F
html, body {height:100%;}
06/18 14:05, 1F

06/18 14:06, , 2F
或者可用SWFOjbect
06/18 14:06, 2F

06/18 15:48, , 3F
感謝!
06/18 15:48, 3F

06/18 16:13, , 4F
可是我改了還是沒有差耶@@?
06/18 16:13, 4F

06/18 16:17, , 5F
clear:both;
06/18 16:17, 5F
※ 編輯: eric8347 來自: 58.115.20.72 (06/18 17:20)
文章代碼(AID): #18M9wnu8 (Web_Design)
文章代碼(AID): #18M9wnu8 (Web_Design)