Backgrounds

  • Thread starter Thread starter andy zemco
  • Start date Start date
A

andy zemco

Hello, I have a particular background that I am using for a presentation in
PowerPoint. I want to know if it is possible for me to use that same
background in a web site I am creating? If so, how do I go about doing so?

Thank you very much
 
andy zemco said:
Hello, I have a particular background that I am using for a presentation
in
PowerPoint. I want to know if it is possible for me to use that same
background in a web site I am creating? If so, how do I go about doing
so?

Thank you very much

You could try using this CSS

body {
background: url(mypicture.jpg) repeat fixed top;
}

mypicture.jpg should include the path if necessary, e.g it could be
images/mypicture.jpg

The attributes repeat fixed top can be altered to suit. Refer:
http://www.w3schools.com/css/css_background.asp

CSS can be added in the <head> section by using this

<style type ="text/css">
body {
background: url(mypicture.jpg) repeat fixed top;
}
</style>

or you can place the CSS in a separate file, say style.css and use this in
the <head> section
<link rel="stylesheet" type="text/css" href="style.css" />

Note that you cannot resize a background image. If it is smaller than the
space allowed, it will either show once (no-repeat) or repeat to fill the
space (repeat)
 
Back
Top