Sunday, October 16, 2011

ASP.NET Master Page and Other Pages allignment Issues

I was creating a website with ASP.NET master page and other content pages.

For some reason when I was navigating from one page to another there was a shift in the footer. I had a horizontal line above the footer and this was jumping few pixels up and down when navigating through the pages.

After some research, I found out that this was happening because some of the pages had the paragraph (<p> </p>) tags and this was pushing the content a little bit.

I resolved this by adding a proper margin and padding to the div body in the master page itself.

Hope this tip can help you !

All Blogs so far ...