no-repeat background in frontpage

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to create a webpage and I don't want the background to repeat. So
I have searched on how to do it and saw to put in the no-repeat option after
the background. Well I've tried inserting it about 20 different ways in code
view and it still won't work when I go to preview it... Does anyone know why
it wouldn't work or if there's another way to do it?
 
<style type="text/css">
body{
background-image:url('image.jpg');
background-repeat:no-repeat;
}
</style>

Make sure the path to the image ( url ) is relative to a location inside your web, such as
background-image:url('images/image.jgp')


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
You're welcome.
Glad to help.

;-)
--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
Back
Top