Layout: permanent position at the top of the screen

started by Bb on Jan 2, 2005 — RSS Feed

Bb Bb
Posts: 5

Can i manage to place something   at the top  of the scrren , wich remains  unmooved by scrolling? With CSS onely? Without javascript at all ? And  surely without frames/ Thank you

Stan Stan
Posts: 44

That can be done with CSS, but not all browsers support it.

Your CSS would be something like this:

position: fixed;
top: 0px;

Bb Bb
Posts: 5

STAN, thank you. But no such standard  at W3C !?  But why it would be nice to have CSS for screen . There is CSS for print  .

Baxter Baxter
Posts: 157

There is CSS for screen. Actually, if you describe no media, it defaults to screen anyway.

And yes, fixed positioning is a very, very simple way to get what you want. However, Internet Explorer doesn't support it (well, it does, but only on background items). If you look around for "IE fixed positiioning" or something like that, there's some brief javascript fixes for IE.

Bb Bb
Posts: 5

Thank you. I found javascript solutions and CSS walkarounds

Maskodok Eko Maskodok Eko
Posts: 171

TOP SEO | Jasa SEO Profesional

TOP SEO | Jasa SEO Profesional Agen Texas Poker Dan Domino Online Indonesia Terpercaya IDRPoker.COM Agen Texas Poker dan Domino Online Indonesia Terpercaya Agen Texas Poker Dan Domino Online Indonesia Terpercaya D

Kokokmas Kokokma Kokokmas Kokokma
Posts: 104

You know, Sim City Societies had a lot of potential, it was a great concept that was horribly developed and lacked any kind of depth. The idea of individualize buildings functioning independently playing its role in a largely diverse and thriving city.

The new Sim City appears to be the classic Sim City gameplay we saw with SC4, combined with a far better developed version of the Societies concepts. Looking great guys, don't let us down.

You must login to reply