Background image (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


Guest -> Background image (3/21/2001 21:05:00)

Anybody know of a way to prevent Frontpage 2000 from tiling background images?? I'm trying for a special effect with a large, single background image in the table, but can't stop it from repeating. Maybe custom code HTML?? Any suggestions? Thanx
ranchie




Gil -> RE: Background image (3/21/2001 21:09:00)

Sorry, there's no way to stop any html page from tiling the bgimage - that's the way its supposed to work...

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"Never miss a good chance to shut up"





Guest -> RE: Background image (3/21/2001 21:16:00)

Thanx, Gil... that's what I needed to know.
ranchie




LB -> RE: Background image (3/21/2001 22:10:00)

You can add a large white or colored border to the photo, but that will be probably be adding a lot to the file size.

Linda

------------------
Ruby Marketing





jessecan -> RE: Background image (3/23/2001 13:33:00)

quote:
Originally posted by ranchhand:
Anybody know of a way to prevent Frontpage 2000 from tiling background images?? I'm trying for a special effect with a large, single background image in the table, but can't stop it from repeating. Maybe custom code HTML?? Any suggestions? Thanx
ranchie

This is possible to do if you are still interested. I ran into the same problem with my site but I went and found the code that someone else used and it worked great.

<style>
body {background-image: url(wherever\image.jpg);
background-attachment: fixed;
background-repeat: no-repeat;
background-position: center center}
</style>

You need to insert this right before your </head> tag. You also need to change the url so that FP knows where to find the image that you are going to display. Next of all you need to go to the page that you want to apply this affect to and right click and choose page properties then enable background picture and watermark then choose the picture that you want to display. This should work.

[This message has been edited by jessecan (edited 03-23-2001).]

[This message has been edited by jessecan (edited 03-23-2001).]





Gil -> RE: Background image (3/23/2001 14:09:00)

quote:
Originally posted by jessecan:

<style>
body {background-image: url(wherever\image.jpg);
background-attachment: fixed;
background-repeat: no-repeat;
background-position: center center}
</style>





With NN4 there are SERIOUS screen re-drawing problems when this property is used. Avoid this property if you need to target NN version 4.XX.
- Because the 'background-position' property is not supported, this property only displays starting from the upper, left corner of the element. IE: it won't be centered in NN4.XX

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"Never miss a good chance to shut up"

[This message has been edited by Gil (edited 03-23-2001).]





jessecan -> RE: Background image (3/23/2001 16:38:00)

quote:
Originally posted by Gil:
[QUOTE]Originally posted by jessecan:

<style>
body {background-image: url(wherever\image.jpg);
background-attachment: fixed;
background-repeat: no-repeat;
background-position: center center}
</style>





With NN4 there are SERIOUS screen re-drawing problems when this property is used. Avoid this property if you need to target NN version 4.XX.
- Because the 'background-position' property is not supported, this property only displays starting from the upper, left corner of the element. IE: it won't be centered in NN4.XX

[/B][/QUOTE]

Oh yea I forgot about that- Good Point! (Why do people still use Netscape??)





Goober -> RE: Background image (3/23/2001 21:01:00)

Interesting. Last time I used that little snippet, it was an IE user who claimed they couldn't see it. No idea what version they were using...3?

Sandy

------------------
www.alleghenyweb.com





Gil -> RE: Background image (3/23/2001 22:33:00)

I doubt it it Sandy - About the ONLY thing IE3 did right was CSS
I can't guess what could have been wrong.

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"Never miss a good chance to shut up"





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.09375