Archives by Tag 'img src'

Combining concepts

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

Absolute positioning is relative! In reality, an absolutely positioned element is relative to its containing block. The containing block is the nearest-positioned ancestor or the document’s initial containing block. It is a structurally superior element whose property is absolute or fixed or relative. The following example shows how an absolutely positioned element can be relative [...]

Header and footer pages

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

Sites that are several pages long would like to introduce a header and footer that will look identical on all pages. This header or footer should be capable of being changed when the designer wants to change the look-and-feel of the site. Header and footer pages are generally HTML pages that are part of the [...]

Graphics, images, video, and audio

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

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 [...]

Absolute positioning of graphics and images

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

A longstanding complaint of graphic designers is that they are unable to absolutely position a graphic on a web page. One solution is available with HTML—CSS. Look at the id selector and its properties. It is a unique variable that is identified by a # mark followed by a name—in this case #picturepos. It works [...]