On 11/27/05, old9 <[EMAIL PROTECTED]> wrote:
> You might try to apply a position:absolute; to "#sitename" while applying
> the display:block to the span.

Thanks for the suggestion. =)  That ends up doing the same as a plain
display:block though.  Namely, the banner is displayed but it pushes
the other content down to its lower edge and it scrolls up with the
other content.

On 11/27/05, Jim Davis <[EMAIL PROTECTED]> wrote:
>  Eric has a demo of fixed position backgrounds here:

I'm trying to fix a div/span, not a background, since I already have a
tiled background image.  I might not have one in the final site, but
this solution would give greater flexibility (the ability to have a
separate background image).

I found something that almost does it:

Adding float:left to the selector makes the image appear in IE6 in the
right place without pushing the other content down and also without
negatively affecting Firefox or Safari.  However, on IE, the image is
absolute instead of fixed (it scrolls with the rest of the content)
and at small widths, the other content is pushed down.

http://curby.net/img/almost.gif shows both the reflow when there's a
horizontal scrollbar, and the logo scrolled up (neither problem exists
in Ff/Safari).  Fully supporting IE isn't a big concern of mine so
this is ok, but if you have any other suggestions, please let me know.
=)

Alternately, if adding float:left causes problems for other browsers,
please let me know.  Thanks again!

By the way, westciv (as an example) shows that it IS possible for IE
to  fix a span with respect to the viewport... I wonder why mine isn't
woring the same way.

--Curby
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to