GIF

Oct. 27th, 2002 01:21 am
gerbie: (Royston)
[personal profile] gerbie
I know there must be someone out there who can help me out, I'm quite a moron if it comes to HTML. For a site I'm making I've got a GIF, but I don't know how to use it. It should be in the background, like wallpaper. What tags should I use? Who can help me?

Date: 2002-10-27 12:13 pm (UTC)
From: [identity profile] tammietamtam.livejournal.com
I'm not saying that it AIN'T possible, however, you've got to be a real 'expert' to be able to use a (moving, I assume) .GIF as a background! I've never been able to pull it off, nor anyone I know!

If you do find a way... lemme know!!! :)

Re:

Date: 2002-10-27 12:37 pm (UTC)
From: [identity profile] gerbie.livejournal.com
It is not a moving GIF, just a simple graph. I found a site which had a similar one, copied the source, changed the name of the GIF and it worked.

You can do the same if you like, just copy the sourcecode of some site. The site I'm trying to make is at:

http://members.fortunecity.com/sjaakencoen

the continue to the columns. (probably not very interesting to read for an outsider, but the graph is there...

Date: 2002-10-28 02:59 am (UTC)
From: [identity profile] javamental.livejournal.com
Usually, you put your background in your "body" tag, like so (replace * with the appropriate "open carrot" and "close carrot" symbols):

*body background="http://www.youraddress.com/your picture url.gif"*

For example, the background on my journal page reads, *body background="http://dreamfire.homestead.com/files/back_3.jpg* or something like that.
For html help, try the 24 hour HTML cafe -- I have their book, and it's awesome. The site is pretty good, too.

Date: 2002-10-28 05:39 am (UTC)
From: [identity profile] itsmeagain.livejournal.com
Two ways you can do this: you can use HTML or CSS.
With HTML, I think you have to add the property
background="image.gif" to the body tag, so it will look like
this:
< body background="image.gif" >

CSS is what you, strictly speaking, should use. You can use it a few ways, but the simplest is probably: It's useful because you can add other properties to it, such as "background-position: middle, top", "background-attachment: fixed" (makes the image stay in the same place when you scroll, so the text moves over it). These should be seperated by a semicolon (";").

Go here
for more on CSS (& HTML too).

Re:

Date: 2002-10-29 03:08 pm (UTC)
From: [identity profile] gerbie.livejournal.com
Does CSS automatically work, also in an HTML environment? Cause I know a little HTML at least, am fairly good in the cut and paste bit, adapting the codes to my own liking, seems weird now having to learn a whole new different way.

I somehow managed to get the puppet in the background already, though would have preferred it in te middle once, instead of everywhere as is the case at the moment.

Re:

Date: 2002-10-30 03:29 am (UTC)
From: [identity profile] itsmeagain.livejournal.com
CSS works within HTML. Either as a property of a tag (eg. >body style="background-repeat: no-repeat; background-position: middle, center; background-image: url('images/image.gif');"<), or as an external "style sheet -- a .CSS file. Learn more at that link I gave you.

You don't have to use it, but it's more flexible and more up-to-date. (I think the example above should give you the effect you mentioned, though I'm not sure about the "position" bit.)

Profile

gerbie: (Default)
gerbie

May 2009

S M T W T F S
      1 2
34 5 6 7 89
10 11 1213 1415 16
171819 202122 23
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 8th, 2025 07:03 pm
Powered by Dreamwidth Studios