Postovani,imam sledeci problem oko pozicioniranja controlgroup button-a u contentu! Pokusao sam preko div-a,ali bezuspesno! Zahvaljujem se unapred! Pozdrav!
Evo i code-a :
code:
<!DOCTYPE html>
<html>
<head>
<title>My Page</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/...y.mobile-1.2.0-alpha.1.min.css" />
<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
<script src="http://code.jquery.com/mobile/...ry.mobile-1.2.0-alpha.1.min.js"></script>
</head>
<style type="text/css">
.position
{
position:center;
}
</style>
<body>
<div data-role="page">
<div data-role="header">
<h1>My Title</h1>
</div>
<div data-role="content">
<div data-role="content"> //Pozicioniranje???
<div class="position" data-role="controlgroup" data-type="horizontal" >
<a href="#page1" data-role="button">Page1</a>
<a href="#page2" data-role="button" >Page2</a>
<a href="#page3" data-role="button" >Page3</a>
</div>
</div>
</div>
<div data-role="footer">
<h1>Footer</h1>
</div>
</div>
</body>
</html>