html - jQuery Mobile grids not working as expected -


i've made simple page test jquery mobile grids. copied/pasted jquery mobile demo website nothing seems work.

the blocks not align properly, as can see test page i've made. if (magically) see them aligned, this screenshot of see.

what's driving me crazy the same exact code works in jsfiddle!!!

<div class="ui-grid-a">         <div class="ui-block-a"><div class="ui-bar ui-bar-a" style="height:60px">block a</div></div>         <div class="ui-block-b"><div class="ui-bar ui-bar-a" style="height:60px">block b</div></div> </div><!-- /grid-a --> 

any idea?

i found problem!

in the examples on jquery mobile website don't use tabs, use spaces, converted &nbsp; browser , make last block go down. therefore, copying , pasting website got issue.

very tricky find


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -