CSS

height.

CSS

Written by VR Sunday, 13 March 2011 09:20

For absolute-positioned elements,Navigator 4 and Internet Explorer 4 react differently to setting of the height style attribute.They agree on one thing:if the content requires more height than is specified for the attribute the content requirements override the attribute value.But if the height attribute value produces a box that is taller than the content requires,the browsers behave differently.navigator cinches up the height of the box to accommodate the content unless you also adjust the clipping rectangle.Internet Explorer retains the attribute height.This discrepancy can affect the look of borders around an absolute positioned element generated through css syntax.

CSS Syntax: haight: length | percentage | auto.

Value: You may also specify a percentage value,which is calculated based on the height of the next outermost container.The setting of auto lets the browser determine the height of the element box based on the amount of space required to display the content.

 

white-space.

CSS

Written by VR Sunday, 13 March 2011 09:10

under normal circumstances,HTML ignores extra white space and thus collapses the rendered content around such space.For example,only single spaces are preserved between words and BR elements are required to force a line break within a paragraph.A white space attribute setting of pre treats white space as if you had surrounding the element in a PRE element.But although browsers have a tradition of rendering PRE elements in a monospace font,the look of an ordinary element set to white-space:pre preserves its font characteristics.

CSS Syntax: white-space:whiteSpaceType.

Value: One of three constants:normal | nowrap | pre.A value of normal allows regular HTML treatment of white space to rule.A value of no wrap tells the browser to ignore line breaks in the source text and break them on the page only where there are explicit HTML line breaks.A value of pre has the browser honor all white space entered by the author in the source content,without adjusting any font settings of the element.

volume.

CSS

Written by VR Sunday, 13 March 2011 08:53

For aural style sheets,sets the dynamic range of the spoken element.Because normal speech has inflections that prevent an absolute volume to apply at all times,the volume attribute sets the median volume

CSS Syntax: volume: number | percentage | volumeConstant

Value: A volume number value in any number.A Value of zero should represent the minimum audible level for the equipment and ambient noise environment;a value of 100 should represent the maximum comfortable level under the same conditions.A percentage value is calculated relative to the parent element's volume attribute setting.Alternative settings include the following constants:silent(no sound) | x-soft(0) | soft(25) | medium(50) | loud(75) | x-loud(100).

 

top.

CSS

Written by VR Sunday, 13 March 2011 08:38

For positionable elements, defines the position of the edge of an element box relative to the top edge of the next outermost blocks content container.

CSS Syntax

top: Length / percentage/ auto

JavaScript Equivalent

top

Value: Negative lengths may be allowed in some contexts,but be sure to test the results on all browsers.You may also specify a percentage value,which is calculated based on all heights of the next outermost container.The setting of auto lets the browser determine the top offset of the element box on its naturally flowing offset within the containing box.

 

 

text-transform.

CSS

Written by VR Sunday, 13 March 2011 08:32

Controls the capitalization of the element's text.When a value other than none is assigned to this attribute the cases of all letters in the source text are arranged by the style sheet,overriding the case of the source text characters.

CSS Syntax: text-transform: caseType | none.

JavaScript Equivalent: textTransform

Value: A value of none allows the case of the source text to be rendered as-is.Other available constant values are : capitalize | lowercase | uppercase.A value of capitalize sets the first character of every word to uppercase.Values lowercase and uppercase render all characters of the element text in their respective cases.

 

Page 1 of 9

«StartPrev123456789NextEnd»

Login Form (Can use your Gmail Acct)

Latest Comments

Copyright © 2017 Interview Questions, Tutorials, Certification Questions. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.