Jump to content

Feet of a cat - fixed background


chris:b
 Share

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;"

Link to comment
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"

Link to comment
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.

Link to comment
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:

Link to comment
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!

Link to comment
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.

Link to comment
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:

Link to comment
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...
 Share

×
×
  • Create New...