0

I have a big problem with the layout of a webpage designed for iPad and normal PC displays. I want to have this layout:

http://img227.imageshack.us/img227/9978/layoutw.png

I already have this layout designed with HTML / CSS and it works in every common webbrowser (Firefox, Safari, Chrome - IEx is not relevant for me): http://ud05_188.ud05.udmedia.de/spotlight/webpage.html

But now I integrate some jQuery mobile stuff and the layout is broken. You can see here the website: http://ud05_188.ud05.udmedia.de/spotlight/jquery.html They div areas are overlapping and it seems that the jquerymobile JavaScript file is the problem.

So how can I identify where the problem is located? What's going wrong here?

Thank you in advance for your help!

Best Regards Tim

2
  • I solved it: ud05_188.ud05.udmedia.de/spotlight/jquery.html There were some margins/paddings I have to remove from the jquery mobile css. Commented Dec 13, 2010 at 21:06
  • It's better to override them in you own CSS with !important so that you can get new jqm css when the release is out. Commented Dec 14, 2010 at 13:17

1 Answer 1

1

I didn't yet look into multi-box layouts with JQM, but what I can already suggest is:

  1. See if it can be done with JQM settings. JQM might have special attributes for your controls. Or you might need extra wrapping divs.

  2. Add margins/paddings to your CSS. Adding rounded corners often produces extra width for elements.

And if you manage to figure it out, please post it here as an answer to your own question.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.