title: Jquery Mobile: Custom Header w/ background image + navbar
body: <p>Struggling badly with this all day and I get the feeling somebody with more knowledge on subject could save me a lot of grief...</p>
  
  <p>I have created a website using Jquery Mobile and I want to use a custom image/logo instead of the standard header on all of my pages. What makes it slightly more complicated is that I am also using a navbar just under the custom header/image for navigation. See the below image for what I am talking about:</p>
  
  <p><a href="http://postimage.org/image/ywh1wajjr/" rel="nofollow">http://postimage.org/image/ywh1wajjr/</a></p>
  
  <p>So here is where I am running into issues... The scaling of the custom image/header is giving me nightmares. At a certain resolution (e.g the 480x800 preset in Dreamweaver) everything looks fine. However, I start to run into issues when the resolution increases: </p>
  
  <p>Firstly, the image height keeps getting bigger, making the overall header (image and navbar) a lot bigger than I want it to be. Secondly, if you are using a very high resolution display which exceeds the total width of the image, the image just stops at its max width, while the navbar (and the rest of the page) continues to expand to 100% the width of the page - which obviously looks very odd. </p>
  
  <p>I am using the following files/setup:</p>
  
  <p>jquery-1.8.2.min.js, jquery.mobile.structure-1.2.0.css, jquery.mobile.theme-1.2.0.css, jquery-1.8.2.min.js, jquery.mobile-1.2.0.js and Dreamweaver cs6.</p>
  
  <p>I have tried a million different variations to the CSS in the above files along with the html in the page with no luck. I have a feeling its going to involve media queries, with 3 or 4 different versions of the image, but despite my best efforts, I havnt been able to figure out the best way to do it.</p>
  
  <p>My ideal scenario - The linked background image + navbar combo (or something similar) that works well on all popular mobile devices in both portrait and landscape mode.</p>
  
  <p>Any advice would be appreciated...</p>