Hey, I have an idea. I m quite new to jquery mobile, so I don't know if it's going to work. But I'll explain it and I'll be back with more details.
So, I have a small project where I am using jQuery Mobile, but I need to give pages (divs) my own look. I don't need much of the styles provided by the jquery mobile stylesheet. So, after trying hard to select elements to style them as I want I am thinking I should remove almost completely the jquery mobile stylesheet.
I guess most of the people will want to design their own pages, but still use the jQuery Mobile functionality. So, what if I just keep the styles that will make my div's take the whole screen? This way, I will still have a single page with multiple div's with data-role=page but no jquery mobile styles. Then I continue to style my divs as I want without bothering with the default styles. I guess it's going to be more styling, but still better than overriding default styles.
I also think, that jquery Mobile will generate some classes, but since I won't have those classes defined in the stylesheet I don't have to ovveride them, but simply to add my own classes.
What do you think guys? I know it's a bruteforce solution, but I hope it's going to work. Please let me know what you think.