You are here: Re: How to FIX an element on screen? « HTML « IT news, forums, messages
Re: How to FIX an element on screen?

Posted by Peter on 11/17/47 11:28

Dylan Parry wrote:

>Using a pointed stick and pebbles, typingcat@gmail.com scraped:
>
>
>
>>I want to have the navigation region(DIV) be fixed on the screen so it
>>woudn't disappear when the page is scrolled. I can do that with
>>JavaScript but I was just wondering if there is any style property for
>>this?
>>
>>
>
>Yes and no. Yes, officially, in that there is the "position: fixed;"
>property that allows for positioning an element in the same location
>regardless of scroll; and no, in that IE doesn't support it.
>
>You can of course use the "position: fixed;" property in your CSS and
>have a JavaScript fallback that it only used for Internet Explorer
>through the use of conditional comments.
>
>
>
This is what google gave (among others):
http://tagsoup.com/-dev/null-/css/fixed/
Peter

--
It will never be the same

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация