Css in Frontpage

Hi all! I’m having problems using css. I barely know what css is, but I want to use it to center a picture behind my flash movie. I’ve searched the forums and found this line of code:

background: #DDDDDD url(‘background.jpg’) repeat-x center center;

Now that’s great and all but I don’t know how to use it. What do I do? do I paste the code into the html in FrontPage? Or do I use some other program?

Thanks,
-3dnirvana

The easiest way is to have the CSS in the HTML, but the draw back is that you must add it to every page.

What CSS is, is it modifes the look of HTML. (nutshell)

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Test Page</title>
<style type="text/css">
<!--
p {
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size: 10px; 
}
body {
 background-image: url(banner.gif);
 background-repeat: no-repeat;
 background-position: center center;
}
-->
</style>
</head>
<body>
<p>gegsdfgdfgdfgdg gegsdfgdfgdfgdgegsdfgdfgdfgd  gegsdfgdfgdfgdgegsdfgdfgdfgd gegsdfgdfgdfgdgegsdfgdfgdfgdgegsdfgdfgdfgdgegsdfgd
fgdfgdgegsdfgdfgdfgdgegsdfgdfgdfgdgegsdfgd
fgdfgdgegsdfgdfgdfgdgegsdfgdfgdfgdgegsdfgdfgdfgdgegs
dfgdfgdfgdgegsdfgdfgdfgdgegsdfgdfgdfgdgegsdfgd</p>
<p>fgdfgdegsdfgdfgdfgd</p>
</body>
</html>

SO, I modified the tag, and added a background image to it.

If you link the CSS you don’t have to copy and paste to every page. You only need to copy and paste a single line instead a mass amount of code. That and if you want different styles just change the link, and not all that code.

ok, I got it. Thanks everyone! :slight_smile: