Tiling

  • Thread starter Thread starter Guest
  • Start date Start date
RBCC said:
Can I build a CSS from a HTML sheet? John

Sorry, I wasn't in this discussion from the start but:

No, you do not build a CSS from a HTML sheet.
What you do is create the CSS file separately and link to it.

Add this to the <head> section of the file where you want the background:
<link rel="stylesheet" type="text/css" href="style.css" />

Then create a file in any text editor, name it style.css and paste this into
it:
body { background: url(mybackground.jpg) no-repeat;}
where mybackground.jpg is your background image. (This file may be another
folder of course e.g. images/mybackground.jpg )

Save style.css in the root folder (the same folder where your default index
file is)

By adding the link to any file you will get the same background
 
Back
Top