Tutorial :Freeze div at top of Masterpage



Question:

How do I freeze the top section of a MasterPage so that the menu doesn't scroll off the screen?


Solution:1

If you want to support more browsers, you can also look at the AlwaysVisibleControl which comes with the free ASP.NET Ajax Toolkit


Solution:2

CSS Fixed Header Layout


Solution:3

You can used the position:fixed css style, but this only works with modern browsers (FF3, IE7). If you want to support older browsers you have to get more creative, using Javascript and such.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »