Wednesday 08th of February 2012 12:07:29 AM
Link 1 | Link 2 | Link 3 | Link 4

Left Column

The left col can be used for navigation links, search box etc.



View more templates.

In this case, it's up to the user agent, but the CSS specifications explicitly state that user agents are not required to reflow previous content to accommodate things that happen later in the document. In other words, if an image is floated up into a previous paragraph, it may simply overwrite whatever was already there. On the other hand, the user agent may handle the situation by flowing content around the float, even though doing so isn't required behavior. Either way, it's probably a bad idea to count on a particular behavior, which makes the utility of negative margins on floats rather limited. Hanging floats are probably fairly

Two Column - Left Column Static with Header Bar

Ver 2.3

The left column is absolutly positioned and is a fixed width. It won't move.

The header row and content column, which you are reading from, are flexible. They will automatically change shape, width can be controlled by setting appropriate margins or an actual width can be specified if required.

This template has been tested in:

Changes in this version:

  1. Defined zero for the body to fix a problem in Opera.

Filler Content

Dáig alta in mac sin i tig a athar & a mathar icon airdig i m-Maig Muirthemne, ocus adfeta dó scéla na maccaemi i n-Emain. Dáig is amlaid domeill Conchobar in rigi, o ro gab rígi in rí, .i. mar atraig fóchetóir césta & cangni in choicid d'ordugud. In lá do raind i trí asa athlil: cetna trian de fóchetóir ic fegad na maccaem ic imbirt chless cluchi & immanae, in trian tanaise dond ló ic imbirt brandub & fidchell, & in trian dedenach ic tochathim bíd & lenna, con-dageib cotlud for cách, aes cíuil & airfitid dia thalgud fri sodain. Ciataim ane ar longais riam reme dabiur bréthir, ar Fergus, na fuil in hErind no i n-Albain óclach macsamla Conchobair.

Ocus adfeta don mac sin scéla na maceáem & na maccraide i n-Emain, & radis in mac bec ria mathair ar co n-digsed dá chluchi do chluchemaig na Emna. Romoch duitsiu sain a meic bic, ar a mathair, co n-deoch anruth do anrothaib. Ulad lett no choimthecht ecin do chaimthechtaib Conchobair, do chor th' aesma & t'imdegla for in maccraid. Cían lim-sa di sodain a mathair, ar in mac bec, & ni biu-sa oca idnaide acht tecoisc-siu dam-sa cia airm itá Emain. Is cían uait, ar a mathair, airm in-das-fil. Sliab Fúait etrut & Emain. Dobér-sa ardmes furri amne, ar esium.

in place, but it will remain fixed so long as the viewing areaisn't resized.

Figure 6-56

Figure 6-56. Centering still holds, even if the image is "fixed"

There is only one other value forbackground-attachment, and that's thedefault value scroll. As you'd expect, thiscauses the background to scroll along with the rest of the documentwhen viewed in a web browser, and it doesn't necessarily changethe origin image's position as the window is resized. If the background of a page to be green, then the entire page background will be the same shade of green throughout the entire document. If you set the background of H1 elements to be navy, then the whole background of every H1 will be the same dark blue color.

In CSS, you can set both the foreground and background colors of any element, from the BODY down to the underline and italics tags, and almost everything in between -- list items, entire lists, headings, hyperlinks, table cells, form elements, and

TIP

Note that margin-right is forced to beauto only for left-to-right languages such asEnglish. In right-to-left languages, everything gets flipped around,so margin-left is forced to beauto, not margin-right. This isnot so much an issue under CSS1 as it is in CSS2, which introducesproperties related to writing direction.