connectseekers.com

Tuesday, 5 April 2016

Fixed Header Web Page Using CSS3 Without jQuery In Asp.Net MVC

4/05/2016 - By Pranav Singh 0

This article will show you how you can create a fixed header for your web page. This article I have shown you how you can show fixed header in your asp.net mvc application.


So for this article first we will create a new asp.net application and add the controller file and create a view ad add the below code.

@{
    ViewBag.Title = "Fixed Header Web Page Using CSS3 Without jQuery In Asp.Net MVC";
    <link href="~/css/demo-styles.css" rel="stylesheet" />
}

<header>
    <a href="http://aspdotnet-pools.com" class="tutorial-link">Read Asp.Net Tutorial</a>
</header>
<div style="height:900px;">
    <br />
    <br /><h1>START</h1>
    <div style="height:900px;"></div>
    <br /><h1>END</h1>
</div>

In this article I have added demo-style.css file this css is responsible for fixed header. Now we have done run the application to check the output.

Please check the first screen.




Now scroll at end and check the final output.


About the Author

We are the group of people who are expertise in different Microsoft technology like Asp.Net,MVC,C#.Net,VB.Net,Windows Application,WPF,jQuery,Javascript,HTML. This blog is designed to share the knowledge.

Get Updates

Subscribe to our e-mail newsletter to receive updates.

Share This Post

0 comments:

Please let me know your view

Free Ebooks


About Us

We are the group of people who are expertise in different Microsoft technology like Asp.Net,MVC,C#.Net,VB.Net,Windows Application,WPF,jQuery,Javascript,HTML. This blog is designed to share the knowledge.

Contact Us

For writing article in this website please send request by your

GMAIL ID: dotnetpools@gmail.com
Email Id : contact@aspdotnet-pools.com

Bugs and Suggestions

As we all know that this website is for sharing knowledge and providing proper solution. So while reading the article is you find any bug or if you have any suggestion please mail us at contact@aspdotnet-pools.com.

Partners


Top jQuery Plugins

Global Classified : Connectseekers.com
© 2014
back to top