PDA

View Full Version : How to manage a background image???


Helen
11-14-2002, 07:53 PM
Ok, here's one I'm stumped on and need a quick fix for. :)

I have one of those long, skinny little images that spreads out across the
page just fine, using this Body tag:

<BODY LINK="white" VLINK="white" topmargin="0" leftmargin="0"
background="images/blueheaderbg.jpg">

The length is perfect on a non-scrolling page. But on a long page, the
image repeats again. How can I make it stop; not repeat again and again
down the page?

If this is possible, exactly what is the code I should add and where should
I put it? (Ok, no wise cracks, LOL) :?:

Shane
11-14-2002, 11:04 PM
Hiya Helen,

Its a while since I done this & heads full of a database at the moment (better than what its normally full of, I hear the shout), but this should work, in between the <head> </head> tags...

<style>
<!--
body {
background : images/blueheaderbg.jpg;
background-repeat : no-repeat;
}
-->
</style>

Shout at me if it doesn't, but think it will..............

Helen
11-15-2002, 01:54 AM
I hate to tell ya this, but nuthin showed up :)

But no matter... I figured out a work around.... I added more to the
bottom... just made the image longer. It is not one that you can stretch
without distorting it, but the bottom part is white so I got away with it.

Later, when we both have more time, I'd like to know the way this is done.
Maybe I did something wrong with that piece of code... that's more likely the problem.

Thanks Shane. I'll look at it again later. This was just a quick test. :)

Shane
11-15-2002, 02:28 AM
Sorry Helen,

I Think I was wasting your time to a certain extent, I use CSS on most of my HTML pages & didn't think....sorry. Thats a CSS command. In my (admitidly lame) defence I was distracted by TC's & others babies........

Your work around is probably the best way. I did look around abit & this may help explain it.

http://hotwired.lycos.com/webmonkey/teachingtool/bgimg.html

http://www.webmonkey.com/ explains most things to me :shocked: except how they faked that Moon landing....just who did take the 'photo of the 'big suit' Neil Armstrong coming down those steps..........

fuhgedaboutit
11-15-2002, 03:09 AM
Gee I thought that was either Richard or Karen on one of their photo taking trips. I know I saw that picture on one of their sites. Unless of course they're in a conspiracy together.
________
Bbw tubes (http://www.fucktube.com/categories/7/bbw/videos/1)

Helen
11-15-2002, 03:24 AM
Actually, I am using CSS, so that can't be it. :) I remember I have seen
great stuff at wbmonkey in the past... thanks for reminding me of them,
and for the help.

Yeah... I wonder if they didn't just use some trick photography... never
even went to the moon. According to Fred, I think it was Alice somebody,
cause he's always telling me, "To the moon, Alice".
:argue: :wink:

Shane
11-15-2002, 03:31 AM
Come on anyone who's been to the Canary Islands knows where they filmed it......

Houston we have a problem.............Yeah you do........

http://www.badastronomy.com/bad/tv/foxapollo.html
this site refutes claims that they didn't go.....it doth protest too much methinks.....

Just because you are paranoid doesn't mean they not out to gettcha... :shocked:

& a thousand other sites...

Flash ho
11-15-2002, 04:17 PM
<style>
<!--
body {

background-repeat : no-repeat;
}
-->
</style>

No need to call img name. Just put the above in the head. This will work, in IE, but not in NN.

But the solution of extending the size of the image is better as it will look ok in NN too.

on edit - If you are using an external CSS style sheet, just add the background tag.

Helen
11-16-2002, 02:47 AM
Thanks y'all!! :D

I need to take some time (if I ever get any) to learn how to do external style sheets. Got the info around here somewhere. No time to look for it. :) But I know it would SAVE me some trime if I do it.

You folks are a big help. Thank you, thank you, thank you... GOTCHA SHANE!! :)