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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Backgrounds on frontpage webs

Reply to Message Icon

Name: wildcat
Date: June 27, 2006 at 20:38:12 Pacific
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



Sponsored Link
Ads by Google

Response Number 1
Name: Laler
Date: June 28, 2006 at 05:11:56 Pacific
Reply:

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


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Backgrounds on frontpage webs

Video on the Web www.computing.net/answers/webdevel/video-on-the-web/2042.html

How my Website be visible on da web www.computing.net/answers/webdevel/how-my-website-be-visible-on-da-web/2805.html

Putting video on the web... www.computing.net/answers/webdevel/putting-video-on-the-web/2050.html