Computing.Net > Forums > Web Development > Backgrounds on frontpage webs

Backgrounds on frontpage webs

Reply to Message Icon

Original Message
Name: wildcat
Date: June 27, 2006 at 20:38:12 Pacific
Subject: Backgrounds on frontpage webs
OS: XP home sp2
CPU/Ram: Athlon 2200+/1ghz DDR
Comment:

I am trying to put together a small web site using microsoft frontpageand i am at the moment trying to add a background picture to the home page.

But when i add the back ground frontpage tiles the picture (in other words it puts the same picture about six time on one page like tiling). I just want this picture to be one picture and in the middle of the page

Any help would be dreat
many thanks

wildcat


Report Offensive Message For Removal

Response Number 1
Name: Laler
Date: June 28, 2006 at 05:11:56 Pacific
Subject: Backgrounds on frontpage webs
Reply: (edit)

hmm... I don't have frontpage installed right now, so hopefully someone can post a direct answer.

But if you want to try, put this above your </head> tag:

<style type="text/css">
<!--
body {
background: #FFFFFF url(images/bg-image.jpg) no-repeat scroll 50% 50%;
}
-->
</style>

...and remove your current background definition in Frontpage.

'#FFFFFF' is the background color, 'bg-image.jpg' is the background image file, in the example it's located in the 'images' folder.

'scroll' can be changed to 'static' to make the image stays even if people scroll the page.

and btw, that is the better way to do 'presentation' than whatever frontpage does :-D
---
Site of the Day


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Backgrounds on frontpage webs

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software