Monday 29th of May 2017 05:03:46 PM

left

#left {
position: absolute;
left: 2%;
width: 22%;
top: 106px;
background-color: #ffffff;
}

Attention

These pages use certain CSS definitions that are unsupported by older browsers.
more nice and free css templates


css



middle right

#content {
position: absolute;
left: 25%;
width: 50%;
top: 106px;
background-color: #ffffff;
overflow: auto;
}

overflow: auto;

With overflow: auto; With overflow: you can determine how overflowing content should be treated.

Values

visible = The element gets expanded to show the entire content.
hidden  = The content will be cut if it overflows.
scroll  = The browser should offer scroll bars.
auto    = The browser should decide how to render the element. Scroll bars are allowed.

Older browsers do not know support this property.
IE does not support overflow:visible



margins, borders, and padding; styles can be applied within them,just as with any other element. This can make them very useful forthe creation of sidebars, "stickynotes," and other such effects. One example is the ability toset a "change marker" on any paragraphthat has been edited. This could be done using the following stylesand markup:

SPAN.change {position: absolute; top: 0; left: -5em; width: 4em;font-weight: bold;}
that's how browsers behaved! Fortunately, they don't.

Figure 6-16

Figure 6-16. Nontransparent backgrounds

Most of the time, you'll have no reason to use the keywordtransparent. On occasion, though, it can beuseful. Although it's the default value, users might set theirbrowsers to make all links have a white background. When you designyour page, though, you set anchors to have a white foreground, andyou don't want a background on those anchors. In order to makesure that this happens, you would declare:comments are not displayed. Meanwhile, those browsers that understand CSS will still be able to read the style sheet.

WARNING

There is one drawback to this strategy. A few versions of older browsers, such as very early versions of Netscape Navigator and NCSA Mosaic, had some trouble with comments. The problems ranged from mangled display to browser crashes. This happened with only a very few browser versions, and it's safe to say that very few of these browsers are still being operated. Be aware that there are some