Archives by Tag 'body element'

Framed?

By Steve Monas - Last updated: Monday, June 14, 2010

Web designers use frames when they wish to display multiple HTML documents on a single page at once. The implementation of frames was introduced by Netscape Navigator 2.0 and was not backward compatible and is not supported by a large number of browsers. Web designers who use frames have to double their labor by designing [...]

Static positioning

By Steve Monas - Last updated: Monday, June 14, 2010

Static positioning is the default positioning of elements on the page. It sources the element as in the HTML and places them linearly one after another. The elements cannot be repositioned and do not have defined coordinates for the element’s position. However, the <body> element is positioned and provides the coordinates for the child elements [...]

Understanding the need for visual formatting model

By Steve Monas - Last updated: Monday, June 14, 2010

CSS visual formatting model supposes that a document contains a number of boxes within boxes. A box can have a border and a background. The content of the box will be held in the center of the box and the area around it will be the padding. The margin is around the border of the [...]

When absolute positioning does not work!

By Steve Monas - Last updated: Sunday, June 13, 2010

Absolute positioning is an attractive concept. However there are instances when absolute positioning does not seem to work! In this chapter we shall briefly touch upon instances when the CSS positioning technique does not work. Internet Explorer 4.0 has problems with absolute positioning of elements. When an absolute position is applied to hyperlinks, the positioning [...]