關(guān)于html頁(yè)面布局出現(xiàn)的問(wèn)題
實(shí)際設(shè)置尺寸與測(cè)量尺寸不同;
[if !supportLists]1.????????[endif]問(wèn)題:調(diào)整得字體font-size大小與具體的容器標(biāo)簽大小不同。解決:調(diào)整line-height為100%;
[if !supportLists]2.????????[endif]問(wèn)題:圖片與文本在同一容器下文本總是位于圖片的下邊線對(duì)齊;解決:調(diào)img的屬性align =”absmiddle”;
? ?????????????????????? AbsBottom圖像的下邊緣與同一行中最大元素的下邊緣對(duì)齊。
???????????AbsMiddle圖像的中間與同一行中最大元素的中間對(duì)齊。
???????????Baseline圖像的下邊緣與第一行文本的下邊緣對(duì)齊。
???????????Bottom圖像的下邊緣與第一行文本的下邊緣對(duì)齊。
???????????Left圖像沿網(wǎng)頁(yè)的左邊緣對(duì)齊,文字在圖像右邊換行。
???????????Middle圖像的中間與第一行文本的下邊緣對(duì)齊。
???????????NotSet未設(shè)定對(duì)齊方式。
???????????Right圖像沿網(wǎng)頁(yè)的右邊緣對(duì)齊,文字在圖像左邊換行。
???????????TextTop圖像的上邊緣與同一行上最高文本的上邊緣對(duì)齊。
???????????Top圖像的上邊緣與同一行上最高元素的上邊緣對(duì)齊。
改變input placeholder字體顏色
input::-webkit-input-placeholder { /*WebKit browsers */
?color: white;
}
input:-moz-placeholder { /* Mozilla Firefox4 to 18 */
?color: white;
}
input::-moz-placeholder { /* MozillaFirefox 19+ */
?color: white;
}
input:-ms-input-placeholder { /* InternetExplorer 10+ */
?color: white;
}