tailieunhanh - JavaScript Bible, Gold Edition part 96

JavaScript Bible, Gold Edition part 96. This book will bring programmers and non-technical professionals, including casual programmers and scripters, painlessly up to speed on all aspects of mastering JavaScript. Key topics include programming fundamentals, JavaScript language elements and how to use them effectively, and how to easily and efficiently add powerful new functionality to HTML documents and Java applets. | 798 Part III Document Objects Reference With so many properties associated with an object it may be difficult to locate the specific property you need for a particular style effect. To help you locate properties the listings that follow are divided into functional categories ordered by popularity Category Description Text Fonts Font specifications text rendering text alignment Inline Display Layout Positioning Background Borders Edges Lists Element flow alignment and display Explicit positioning of layers Background images and colors Borders padding and margins around elements Details for UL and OL elements Scrollbars Scrollbar colors Windows only Tables Details for TABLE elements and components Printing Miscellaneous Page breaks and alignment for printed pages Odds and ends Aural For rendering via speech-synthesis Property values All style object property values are strings. Moreover many groups of style properties share the same format for their values. Knowing the formats for the frequently used values is helpful. The purpose of this chapter is not to teach you about style sheets but to show you how to script them. Therefore if you see unfamiliar terminology here consult online or print instructional material about CSS style sheets. Length Values for length cover a wide range but they all define an amount of physical space in the document. Because content can be displayed on a video monitor or printed on a sheet of paper any kind of length value should include a unit of measure as well as the quantity. One group of units px em ex are considered relative units because the precise size depends on factors beyond the control of the style sheet for example the pixel density of the display or units set by elements with more global scope for example a P element s margin em length dependent upon the BODY element s font-size setting . Absolute units in cm mm pi pt are more appropriate for printed output. Length units are referred in script according to the .

TỪ KHÓA LIÊN QUAN