UrbanPro
true

Learn Microsoft SharePoint from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

SharePoint Modal Dialogue : Freeze the header

Mallikarjuna
04/05/2017 0 0

Recently working on  a project got a requirement for freezing a header for modal dialog. To make it simple this is how you can achieve.

##########HTML#####################

outer text.....
<div id="mholder">
<div id="mheader">Header text</div>
<div id="mbody">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborumLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborumLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborumLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</div>
<div id="mfooter">Footer text</div>
</div>

##########End HTML#####################
##########CSS #########################

#mholder{
padding: 10px 10px 10px 10px;
width: 65%;
height: 60%;
background-color: grey;
position: absolute;
top:0;
bottom:0;
left:0;
right:0;
margin: auto;
}

#mheader{
position: absolute;
height: 10%;
left:0;
top:0;
width: 100%;
}

#mbody{
width:96%;
height: 80%;
position: absolute;
top: 10%;
overflow: auto;
}

#mfooter{
height:10%;
width:100%;
position: absolute;
left: 0;
bottom: 0;
}

##########end CSS #########################

0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

Self Learning MVA
You can easily lot of Micrsoft Technologies for free from Microsoft Virtual Academy. mva.microsoft.com

Microsoft SharePoint - New Version, New Features
Through this post I am going to give a brief presentation of the new features of Sharepoint server 2016. 1. The Infrastructure build is a cloud inspire. 2. The limitiations regarding number of site...

Why learn SharePoint?
SharePoint is easy to start learn and implement if any one know HTML concepts. SharePoint's core functions are 1) store documents in a more effective format and 2) bring an organisation together. Most...

How does Check-in/Check-out work in Sharepoint
How does Check-in/Check-out work in Sharepoint Reference Information: Title: How does Check-in/Check-out work in Sharepoint. Target Audience(s): External, Collaboration, Support Body: Issue/Request You...

SharePoint Training
ABOUT SHAREPOINT: SharePoint is a web-based function that integrates with Microsoft Office. SharePoint is primarily sold as a document administration and storage organization but the produce is greatly...
X

Looking for Microsoft SharePoint Classes?

The best tutors for Microsoft SharePoint Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Microsoft SharePoint with the Best Tutors

The best Tutors for Microsoft SharePoint Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more