2004-11-10

Just beacuse I am bored.

剛剛在看 Eric 寫的 Uncollapsing Margins

Notice how close the content of the h1 gets to the top of the div's background area? You might expect that there would be twenty pixels of margin between the top of the h1 and the top of the div. Instead, the top margin of the h1 is actually "sticking out" of the div. The two margins actually overlap. THe same is true for the bottom margin of the p element and the bottom margin of the div.

cite Uncollapsing Margins

...有種奇妙的違和感?奇怪...。

喔!?

THe same is true for the bottom margin of the p element and the bottom margin of the div.

筆誤。

No comments: