tailieunhanh - CSS Cookbook- P7

Tham khảo tài liệu 'css cookbook- p7', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | So to ensure cross-browser support within IE versions make sure you include both sets of properties .highlight scrollbar-face-color 99ccff scrollbar-shadow-color ccccff scrollbar-highlight-color ccccff scrollbar-3dlight-color 99ccff scrollbar-darkshadow-color ccccff scrollbar-track-color ccccff scrollbar-arrow-color 000033 -ms-scrollbar-face-color 99ccff -ms-scrollbar-shadow-color ccccff -ms-scrollbar-highlight-color ccccff -ms-scrollbar-3dlight-color 99ccff -ms-scrollbar-darkshadow-color ccccff -ms-scrollbar-track-color ccccff -ms-scrollbar-arrow-color 000033 Use conditional comments see Recipe to pinpoint CSS rules to a specific version of IE. The Safari browser also has proprietary CSS rules for colorizing a scroll bar. For more information see http blog 363 styling-scroll bars . See Also Internet Explorer-specific Functionality at http en-us library cc304082 loband .aspx ie_specific the IE Colour scrollbar maker at http a webdesign Techniques for Centering Elements on a Web Page Problem You want to center parts of a web page as in Figure 5-8. Solution To center text in a block-level element use the text-align property hl h2 h3 text-align center Techniques for Centering Elements on a Web Page 275 Please purchase PDF Split-Merge on to remove this watermark. Figure 5-8. The headline text centered Discussion By using text-align you can center text inside block-level elements. However in this example the heading takes up the entire width of the body element and if you don t apply a background color to the element you probably won t even notice this is happening. The gray background color in Figure 5-9 shows the actual width of the centered elements. ö 0 0 CSS Cookbook - Mozilla CD xl Home 3 Bookmarks 2 1 Lorem ipsum dolor Eurem ipsumdolor sil amet consectetuer adipiscing elit. Nullam feugiat turpis at pulvinar vulputate erat libero

TỪ KHÓA LIÊN QUAN