Archives by Tag 'attributes'
XHTML syntax
Three major differences exist between HTML and XHTML: 1) XHTML requires lowercase names in markup tags for all elements and attributes, such as <body>. Using an uppercase or mixed-case name, such as <BODY> or <BoDy>, (which are perfectly acceptable for HTML 4.01) will trigger a syntax error when verifying any XHTML code with the W3C [...]
Object-oriented interfaces
Object-oriented interfaces use objects as tangible and conceptual things that have definite attributes and expose specific methods. The purpose is to break down the interface into modular, reusable chunks called classes. The classes then act as blue prints for creating instances of the objects and implementing methods encapsulated in these objects. This results in robust, [...]
Defining concepts
Absolute positioning defines the x and y coordinates of an element with reference to the top-left corner of the browser page or the containing block, and the position attribute is set to absolute. The code will read somewhat like this: <style type= “text/css”> <!-– p {position: absolute; left 50pt; top: 30pt} –> </style> Note that [...]
Tables
Tables are one of the primary tools that are used by web designers to gain control over elements of a web page. They also offer visually interesting organization of text and graphics. They help the designer designate specific parts or columns and rows for menus, navigation bars, or for framing images or content. However, browser [...]
Types of positioning
While this default “flow” does not give the designer much scope for manipulating layouts, CSS allows the designer to apply a small set of attributes to the elements of the page and control their position by defining coordinates within which they will appear. CSS 1 provided the user with the ability to specify: The width [...]
Using layers to position elements
Coordinates and positioning are two important attributes of the layer that have to be considered the moment the web designers works on their compositions. The x/y coordinate system begins with the top-right corner of the page. Layers can be stacked or overlapped in the order supplied by the third coordinate called the z-index, which is [...]
Relative positioning and layers
Relatively positioned layers form part of the normal flow of the web page. These are also known as inflow layers. These layers occupy space in the document flow and share line space with other elements of the web page. The left and top attributes or properties can be set to specify the offset of the [...]
Absolute positioning and layers
Absolutely positioned layers can be defined with reference to its coordinates within its containing layer. The top, left corner of the layer can be set using the left and top attributes or properties. However, if these attributes are not set, they will default to the top and left of the containing layer automatically. The absolutely [...]
Positioning elements within frames absolutely
Frames load separate pages. Each page is an independent container for different elements. These elements can be positioned using CSS-positioning techniques without reference to the positioning of elements in the other pages being loaded on different frames of the web page concurrently. Each page loaded onto a frame acts like an independent viewport. The elements [...]
Graphics, images, video, and audio
The originators of the web would never recognize their creation, as it exists today. A profusion of graphics, images, audio, and video are used for a multitude of purposes. Images and graphics can replace text for communication or they can themselves act as elements for navigation. Audio and video can be used to reach out [...]
![[Google]]( http://absolutepositioning.com/wp-content/plugins/easy-adsenser/google-light.gif)