| This is NOT the official website of AvantBiz Consulting Limitd but just some casual discussions about various topics. Please visit www.avantbiz.com if you need our professional services. |
解決透明 png 在 ie 6 下的問題: jQuery pngFix November 6, 2009
Posted by eddie in : Web 網頁 , add a commenthttp://jquery.andreaseberhard.de/pngFix/
常見的CSS+DIV問題整理 October 15, 2009
Posted by eddie in : Web 網頁 , add a commentQ.如何讓DIV區塊居中?
A.假設你的DIV總寬度是900px,我們可以這樣寫:
- <style>
- #page {width:900px;margin:0 auto;}
- </style>
- <div id="page">居中的區塊</div>
Q.為什麼IE對於margin的算法有些不同?
A.當我們針對div設定了浮動(float)屬性之後,IE瀏覽器就會將margin加倍計算。例如我們設定margin-left:5px;,IE會算成10px。解決的方法是在該浮動區塊加上「display:inline」即可解決這個問題。
Q.為什麼設定超連結的visited會失效?
A.超連結的樣式有一定的順序,如果你同時要設定visited(訪問過的連結),或是active(作用中的連結),必須要按照這個順序設定:a:link→a:visited→a:hover→a:active。我們不用死記順序,可以這麼記:love、hate
Q.如何在圖片上方放置flash?
A.有時候我們會看到有人的圖片上有flash的光圈特效,如果你要使用該特效,請將圖片設定為背景圖,然後在上方插入flash,記得要將flash設置為透明屬性:
- <param name="wmode" value="transparent" />
Q.在火狐瀏覽器設定最小高度
A.一般對區塊設定高度(height)後,在火狐瀏覽器中如果輸入超過高度的文字,區塊不會被撐開。如果我們希望可以設定最小高度,同時又希望文字過多可以撐開區塊的話,可以將你的區塊改寫為:
- div {
- height:auto!important;
- height:100px;
- min-height:100px;
- }
A quick fix for WordPress plugin My Category Order July 20, 2009
Posted by klyuen in : Web 網頁 , add a commentThere is a small problem after upgrade My Category Order WordPress plugin (http://geekyweekly.com/mycategoryorder) to latest version for WordPress 2.8 or 2.8.x. The category list will be showing “No category” after the upgrade. To fix the issue, you have to go to page Posts > My Category Order in backend, then change the file permission of wp-includes/taxonomy.php to writable, say “666″ or “766″ or “777″ (as instructed in admin page).
Adobe Photoshop CS4 November 13, 2008
Posted by klyuen in : Photography 攝影,Web 網頁 , add a commentHow to Fix IE 7 Flash bug January 25, 2007
Posted by eddie in : Computer 電腦,Flash,Web 網頁 , add a commentAdobe’s Developer Center has tackled this issue:
http://www.adobe.com/devnet/activecontent/
http://blog.deconcept.com/flashobject/
2006 Hong Kong Winterfest November 21, 2006
Posted by klyuen in : AvantBiz,Computer 電腦,Web 網頁 , add a comment連續幾年在中環皇后像廣場舉行的的香港繽紛冬日節,在今個月24日就會開始,我們將會負責其中一間小屋「傳情天地」。今日終於完成第一次demo,如無意外下星期皇后像廣場會開始動工豎起巨型聖誕樹和撘建小屋,星期六我們的小屋會準備好開始現場測試,23日傳媒試玩,24日正式駐場運作,歷時39日。
Quoted from discoverhongkong.com:
「聖誕歡樂小鎮」內有一座巨型電子屏幕,可以把您的佳節祝願、真情告白,即場傳達給摯愛親朋。您也可於 11 月 24 日起登入此網站並輸入有關訊息,翌日該訊息便會在屏幕上顯現。
Google第三季純利再升一倍 October 23, 2006
Posted by klyuen in : Finance 財經,Web 網頁 , add a comment谷歌公布,在過去的三個月,利潤較去年同期所賺的3.81億美元,共上升92%,達到淨收益共7.33億美元。
由於廣告收益也不斷增加,谷歌目前的收入巳較去年總收益上升70%,達到27億美元。
分析員指出,谷歌賺取利潤的能力,巳大大超越其它的搜索器,如雅虎(Yahoo)、微軟 MSN和Ask。
數據顯示在同類型的美國市場中,谷歌的市場佔有率達45%, 雅虎是28%,而MSN佔12%。
网站设计者必备的20个FireFox扩展 October 16, 2006
Posted by eddie in : Computer 電腦,Web 網頁 , add a commenthttp://www.firefox.hk/956.html
Use .htaccess to restrict access to web pages
Posted by klyuen in : Computer 電腦,Linux,Web 網頁 , add a commentThis document demonstrates the use .htaccess to restrict access to web documents by user and password.
報載Google洽購YouTube October 8, 2006
Posted by klyuen in : Computer 電腦,News 新聞,Web 網頁 , add a comment《華爾街日報》引述消息人士報道,全球最大搜尋網站Google正洽商收購影像搜尋網站YouTube,作價約16億美元.
報道指出 , 雙方的討論仍然處於敏感階段 , 隨時都可能終止.
美聯社引述 Google發言人表示, 不會評論巿場傳言及揣測.
分析員普遍認為, 如果交易最終落實, 對兩家公司都有好處 . Google目前坐擁100億美元現金, 如果成功收購YouTube, Google在影像搜尋巿場就會一躍而成巿場領導; 另一方面, 隨著YouTube的流行程度增加 , Google亦能確保 YouTube的基建設施能應付巿場需求 .
Nielsen/NetRatings的資料顯示, 在七月份, YouTube網站流灠人次為3050萬 , 而Google Video只有930萬人次, Yahoo Video就有530萬人次.
此外 , YouTube用戶每日觀看超過 1億段影像短片.
今年初, 巿場有傳言指YouTube會成為主要媒體公司的收購目標, 行政總裁赫爾利當時表示, 公司不會放售, 日後更有可能會招股上巿
解決Flash在FireFox透明的設定 September 28, 2006
Posted by eddie in : Web 網頁 , add a comment一般都知道在IE下的設定只要在HTML的Flash code中加上 PARAM NAME=”wmode” VALUE=”transparent”就行啦~
(或者Flash 的Publish也行)
但是!!慘的是… FireFox竟然不支援這種屬性,於是剛剛查了FireFox的官網,查到下列解決的辦法
在embed中也加上wmode=”transparent”
ex: embed src=”images/xxx.swf” mce_src=”images/xxx.swf” wmode=”transparent” quality=”high” ……..
Flash Professional 9 Released!! September 27, 2006
Posted by eddie in : Web 網頁 , 1 comment so farFlash Professional 9 Released!!

Webalizer Quick Help September 8, 2006
Posted by klyuen in : Web 網頁 , add a commentQuoted from official website of Webalizer: explanations about common terms used in Webalizer.
