Re: Simple Questions for Newbie (Background Page Image)

RickinRSM ha scritto:
> 
> I suppose I can have multiple CSS documents for a particular HTML page,
> correct?
> 
> So . . .
> 
> Step one - create an HTML page
> Step two -  link a CSS page into the HTML page for the background image or
> colors, etc..
> 
> Is thes correct?
> 

Yes, it is. First: design your CSS or get from the Net thousand of 
examples, then link your HTML elements to the CSS classes.

Ex:

in restaurant.css file:

.spanclass-1 {
font-size:
color: navy;
background-color: yellow;
font: bold 120% "courier new", serif;
}

In restaurant.html file:

<html>
<head>
<link href="restaurant.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1>Amaya's Restaurant</h1>
<span class="spanclass-1"><p>Today's menu:</p></span>
<ul>
<li>text....</li>
<li>text....</li>
<li>text....</li>
<li>text....</li>
</ul>
<body>
</html>


Cristiano
http://www.webalice.it/cguglielmetti/

Received on Saturday, 4 October 2008 08:05:48 UTC