The syntax I use is: 1 <!--[if IE]> 2 According to the conditional comment this is Internet Explorer<br /> 3 <![endif]--> 4 <!--[if IE 5]> 5 According to the conditional comment this is Internet Explorer 5<br /> 6 <![
從昨天開始再次折騰iphone開發,今天終於基本搞定了.問題出在我是用虛擬機器安裝 Mac OS X Lion+xcode,所以問題較多.一開始我是想單獨安裝mac os,然後再下載xcode安裝,可惜Mac OS X Lion10.7可以順利安裝成功,但xcode 不能順利下載.關於虛擬機器安裝 Mac OS X
該怎麼解決margin collapsing問題,在這裡就不做太多討論,相關的解決方案網上也很多。前面IE8剛剛面市,於是就決定用IE8看看以前自己做的頁面,是否夠健壯,結果發現margin collapsing的解決方案在IE8中沒能起效以前的解決方案:Code highlighting produced by Actipro CodeHighlighter
以下一段摘自:FriendsofED.CSS.Mastery.Advanced.Web.Standards.Solutions.Feb.2006Normally when people create float-based layouts, they float both columns left, and then create a gutter between the columns using margin or padding. When using this approach,
w3c:If the top and bottom margins of a box are adjoining, then it is possible for margins to collapse through it. In this case, the position of the element depends on its relationship with the other elements whose margins are being collapsed.Mozilla
Now, here is two div, one contain another one, if you set parent div filters(such as FILTER: alpha(opacity=80)、opacity: 0.8、-moz-opacity: 0.8), child div's oversteop part will be hidden, this phenomenon equal to set parent div overflow property to