다음 HTML이있는 페이지가 있으며 JQuery Mobile UI 프레임 워크를 사용합니다. 나는 2 개의 질문을했습니다 :마지막 항목의 아래쪽 테두리가 없습니다.
1) 왜 마지막 요소의 하단 경계선이 숨겨져 있습니까? 머리글을 제거하면 나타나기 시작합니다. 하단 경계선이 숨겨지지 않도록 헤더를 유지하는 방법을 제안하십시오.
2) 로더는 페이지가로드 된 후에도 볼 유지하지 왜 - 해결 .. 내가 헤더를
감사를 폐쇄 실종됐다!
<!DOCTYPE html>
<html>
<head>
<title>app</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.css" />
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.js"></script>
</head>
<body>
<header data-role="header">
<h1>
My Application</h1>
</header>
<article data-role="content">
<ul data-role="listview" >
<li><a href="#">
<h1>Heading 1</h1>
<img src="http://www.f-secure.com/static/img/labs_global/Icons/98/forum_bubbles_icon.png" alt="cards"/>
<p>Select this option to lorum ipsum</p></a>
</li>
<li><a href="#">
<h1>Heading 2</h1>
<img src="http://www.f-secure.com/static/img/labs_global/Icons/98/forum_bubbles_icon.png" alt="cards"/>
<p>Select this option to lorum ipsum</p></a>
</li>
<li><a href="#">
<h1>Heading 3</h1>
<img src="http://www.f-secure.com/static/img/labs_global/Icons/98/forum_bubbles_icon.png" alt="cards"/>
<p>Select this option to lorum ipsum</p></a>
</li>
<li><a href="#">
<h1>Heading 4</h1>
<img src="http://www.f-secure.com/static/img/labs_global/Icons/98/forum_bubbles_icon.png" alt="cards"/>
<p>Select this option to lorum ipsum</p></a>
</li>
</ul>
</article>
</body>
</html>
스크린 샷 :
추가 설명 - 머리글을 제거하거나 2를 말하도록 요소 수를 줄이면 아래쪽 테두리가 올바르게 나타납니다. 그러나 4 개의 요소와 머리글로 숨 깁니다. – helloworld