W3C home > Mailing lists > Public > www-html@w3.org > April 1999

Re: fixed background

From: Daniel Hiester <alatus@earthlink.net>
Date: Sun, 11 Apr 1999 13:17:09 -0700
Message-ID: <002101be8458$47a77d60$10c3b3d1@alatus>
To: <www-html@w3.org>
| Joerg Dittmer escribió:
|
| >  Is it posible to make a fixed background in Netscape? please help me
| > ;)))
|
| In 4.* doesn't supports background-attachment:fixed;
| But sure in the forthcoming version.
| So by now the answer is yes ,but not completely using standards. The key
| is use his CSS-P plus Javascript1.2 plus DOOMN (Document Own Object
| Model of Netscape) (sorry)

Woa, hey, I probably shouldn't reply to this list for this, since it's so
off-topic, but I don't think we have a traffic problem. I've been thinking
about this problem myself, as I have a friend who's in this position.

I got to thinking, and well, in terms of backward browser compatibility,
it's probably more work than it's worth, but would it work in NSC 4.5 (or
nsn 4.08) to simply put it into a fixed-positioned div? example:

(in the .css file)
#bg { position: fixed; top: Xpx; left: Xpx (or X%) ]

(in the .html file)

<div id="bg"><img src="bg.png" alt="stuff" width="x" height="x"></div>

The thing is, that's a CSS2 concept. And yes, I am kinda rusty on working
with CSS, so I don't remember if fixed-positioned div's use top, or
top-margin, but anyone who's worked with CSS should know what I mean. I'm
too lazy to test this in Navigator myself, and then another problem arises
in that older browsers will simply display the image as they would any
regular image, not a bg image.

As much as CSS is an aging standard, I fear it is STILL a thing of the
future. :(

Daniel [inanis (edf)]
Received on Sunday, 11 April 1999 16:13:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:39 GMT