Advertisement
Guest User

jQueryMobile full size content

a guest
Feb 29th, 2012
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.33 KB | None | 0 0
  1. /*make sure the viewport is 100% height*/
  2. /*make the page element 100% height*/
  3. #map {
  4.     height : 100%;
  5. }
  6.  
  7. /*set the content to be full-width and height except it doesn't overlap the header or footer*/
  8. #map .ui-content {
  9.     position : absolute;
  10.     top      : 40px;
  11.     right    : 0;
  12.     bottom   : 39px;
  13.     left     : 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement