Jump to content
Sign in to follow this  
chris:b

Feet of a cat - fixed background

Recommended Posts

Thank you, MUB, for the new section.

So, boys and girls, we have 30 days to fill it up :)

 

My first question is a html related one. On my homepage I am using a fixed background image:

 

http://home.tiscali.nl/berenstraat/lesen.htm

 

When scrolling down to the bottom of the page, the feet of the little cat get cut off. And I don't know why.

 

At this page (same cat, but different code), this does not happen:

 

http://ln.hixie.ch/

 

What did I wrong?

 

<body bgcolor="#ffffff" alink="#FF9933">

<div style="background:url(img/gruenkatze.png) 100% 99% fixed no-repeat;"

Share this post


Link to post
Share on other sites

They seem to display correctly for me with both Mozilla and Konq. What browser are you using?

 

I tried following the code used at hixie.ch, but had no luck trying to find the difference.

 

I would try either decreasing the page size in the background tag (remember the browser framing and scroll bar is taking some space) or try adding some clear space to the bottom and the right side of your cat photo for a "cushion"

Share this post


Link to post
Share on other sites

it occurs for me in mozilla, as you describe anna. just wanted to confirm it, i'll see if i can find an explanation.

 

new thoughts: you could try using a CSS stylesheet type of deal instead....see mine: http://www.geektyme.org/tymestyle.css and notice the background stuff in the body section.

Share this post


Link to post
Share on other sites

Scoopy: I have this effect in all browsers, Opera, Konq, Mozilla.

I'll work on the image.

 

I'll try to understand your code, tyme. :oops:

 

Thanks for the suggestions!

Share this post


Link to post
Share on other sites

if you have any questions just ask :) my initial thoughts were getting rid of those %'s.

Share this post


Link to post
Share on other sites
...  my initial thoughts were getting rid of those %'s.

 

Lol, tyme, I did that - and the cat was sitting on the very top left.

The trick was: changing the 99% to 98%. So your thoughts gave me the direction where to look.

 

Thing is, that I wanted the cat sitting on the very bottom of the browser window - now there is some space. Ok, but I am happy with it.

 

I guess scoopys suggestion to give some more space to the image would have done the same.

 

Thanks to you both, problem solved! :lol:

Share this post


Link to post
Share on other sites

Well, if you follow tyme's stylesheet but replacing his image with yours; the cat will sit in a fixed position on the page, reguardless of where you scroll to. If you look at the logo on his page, you will see what I mean. http://www.geektyme.org It's on the bottom right.

Share this post


Link to post
Share on other sites

yeah, basically it's another way of doing the same thing. btw-i like the "flame" (of course meaning the thing the flame plugin produces) you have, very nice :)

Share this post


Link to post
Share on other sites

:cry:

Tyme, i cant get to see the css file!! would you care to send it to my email or allow access???

 

I want to get a logo, like a backgound and stay, just like yours and anna's but in the left instead of the right.

 

thanks in advance!

Share this post


Link to post
Share on other sites

Hi, thanks tyme, now, im having a little problem...

 

The graphic is loading at the start of the page (i mean, i see it there) and sudenly, when the weblog is loaded it dessapears...

 

have a look: www.somosinvisibles.com.ar

 

if you dont see it, press "reload" several times and it should appear.

Share this post


Link to post
Share on other sites

it's disappearing behind your tables...there's a way to fix that, but ATM i can't remember.

Share this post


Link to post
Share on other sites

Mmmm.... yes i thought so....

 

http://www.somosinvisibles.com.ar/layout/C...assic/style.css

 

there is my CSS file... have a look at it, i think it has something to do with the last lines where background color is redefined, but i thought it was for the tables only, not that affected the Body.

 

 

Also!!! I Just Realized!!!

Im now Mr. "frequent"!!! this is my 101 post!!! wow... :shock:

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...