분류 jquerymobile

버튼과 텍스트를 블럭으로 묶기

컨텐츠 정보

  • 조회 773 (작성일 )

본문

<!DOCTYPE html>

<html>

<head>

<script type='text/javascript'

  src='http://code.jquery.com/jquery-1.8.3.js'></script>

<script type="text/javascript"

  src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.js"></script>

<link rel="stylesheet" type="text/css"

  href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.css">

</head>

<body>

  <div class="ui-grid-a">

    <div class="ui-block-a">

      <a href="#" data-role="button" data-icon="plus" data-iconpos="notext"

        data-mini="true"></a>

    </div>

    <div class="ui-block-b">Test Comment</div>

    <div class="ui-block-a">

      <a href="#" data-role="button" data-icon="minus"

        data-iconpos="notext" data-mini="true"></a>

    </div>

  </div>

</body>

</html>