Re: Simple Questions for Newbie (Background Page Image)

Cristiano Guglielmetti <[email protected]>
Newsgroups gmane.comp.web.amaya.general
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.