javascript - Jquery mobile radio button alignment -


i facing issue in alignment of radio button. see image issue. happening if load css local file system. when open same page using css pointing url working properly.

the css using http://view.jquerymobile.com/1.3.2/dist/demos/css/themes/default/jquery.mobile.min.css

the jquery viersion using 1.9.1 , jqm version 1.3.2. source code is

<!doctype html> <html class="ui-mobile"> <head xmlns="http://www.w3.org/1999/xhtml"> <meta http-equiv="content-type" content="text/html; charset=utf-8">  <base href="."> <meta charset="utf-8"> <meta name="viewport"     content="width=device-width, initial-scale=1, maximum-scale=1,maximum-scale=1, user-scalable=no"> <link rel="stylesheet" href="./css/jquery.mobile.min.css">  <script type="text/javascript"     src="./js/jquery-1.9.1.min.js"></script> <script type="text/javascript"     src="./js/jquery.mobile-1.3.2.min.js"></script> <title>mobile</title>  </head> <body class="ui-mobile-viewport" > <div data-role="header" data-theme="a" data-position="fixed">  </div> <div data-role="content">         <fieldset data-role="controlgroup" data-iconpos="right" id="choicechooser">         <input type="radio" name="radio-choice-w-6" id="radio-choice-w-6a" value="choice 1" >         <label for="radio-choice-w-6a">choice 1</label>         <input type="radio" name="radio-choice-w-6" id="radio-choice-w-6b" value="choice 2">         <label for="radio-choice-w-6b">choice 2</label>         <input type="radio" name="radio-choice-w-6" id="radio-choice-w-6c" value="choice 3">         <label for="radio-choice-w-6c">choice 3</label>         <input type="radio" name="radio-choice-w-6" id="radio-choice-w-6d" value="choice 4">         <label for="radio-choice-w-6d">choice 4</label>         <input type="radio" name="radio-choice-w-6" id="radio-choice-w-6e" value="choice 5">         <label for="radio-choice-w-6e">choice 5</label>     </fieldset> </div>  </body> </html> 

the fiddle same is

http://jsfiddle.net/karthick6891/yfdgd/

enter image description here

replace images file in local images bundled jquery 1.3.2.

http://jquerymobile.com/resources/download/jquery.mobile-1.3.2.zip 

there conflict between image files , position define in css file.

when using css pointing url, correct images loaded.

copy , validate.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -