News:

The anti-spam plugins have stopped being effective. Registration is back to requiring approval. After registering, you must ALSO email me with your username, so that I can manually approve your account.

Main Menu

html question

Started by Phelerex, September 07, 2005, 01:11:57 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Phelerex

:/ i was wondering if there was a way to make a background image fit the screen all the time. if so, how would you do this? it would really suck if i got it to fit my screen, then have it not fit someone else's.
thank you!
BOW TO ME, MY MINIONS-er-I mean, uh, here, have a cookie!
Millions of years of evolution and we humans eventually end up with duct tape.
Naw, it can't be heaven. Not enough twinkies.

Databits

You'd probably need to utalize javascript to accomplish this. As I don't believe there is a stretch option in either HTML, XHTML, or CSS. I could be wrong, but I'm pretty sure there isn't.

Thus, it's usually a good idea anyways to pick a background that can be repeated on an axis or tiled. I have a background that fades into the color black. It always fits the window simply because it repeats in the vertical direction (y). (my site - warning this is not W3 compliant... This code was written back before I was a bit more strict on that.)
(\_/)    ~Relakuyae D'Selemae
(o.O)    
(")_(")  [Libre Office] [Chrome]