used for the former. If the situation is reversed -- an Italicface exists, but there is no defined Oblique face -- the useragent may not substitute the former for the latter, according to theCSS specification. Finally, the user agent can simply generate theoblique face by computing a slanted version of the upright font. Infact, this is what most often happens in a digital world, whereit's fairly easy to slant a font using a simple computation.

Furthermore, you may find that in some operating systems, a givenfont that has been declared to be italic may

Monday 20th of November 2017 02:47:20 AM


This BOX ist centered and adjusts itself to the browser window.
The height ajusts itself to the content.
more nice and free css templates

body {
background-color: #e1ddd9;
font-size: 12px;
font-family: Verdana, Arial, Helvetica, SunSans-Regular, Sans-Serif;
margin: 20px 140px  20px 140px;
text-align: center;
#content {
width: 100%;
padding: 0px;
text-align: left;
background-color: #fff;
overflow: auto;

padding-right, border-right,and margin-right. These are illustrated in Figure 8-9. The values of these seven properties mustequal the value of width for an element'sparent.

Figure 8-9

Figure 8-9. The "seven properties" of horizontal formatting

Only three of these seven properties can be set toauto: the width of theelement's content, and the left and right margins. The left andright padding and borders must be set to specific values, or else matching those original 16. They may be a fairly motley collection of colors, but they're what we have.

So let's say we want all first-level headings to be maroon. The best declaration would be:

H1 {color: maroon;}

Simple, straightforward, and difficult to forget. It doesn't get much better than that. Here are a few more examples:

that the title and navigation buttons are separate from the rest ofthe page.

Now that this is all done, we need to link the style sheet into thesite's pages. The above declarations are collected into asingle file, which is saved to a file with the URL Thenall of the site's pages are modified so that theirHEAD element contains the following:

<LINK REL="stylesheet" TYPE="text/css"