html - Order <span> under <input> -
okay know problem may super-trivial you, can not make work. html code works right in codepen, when using in app template, messes up. have tried lot of css options none of them worked..
what code looks in codepen , how should in app:
http://codepen.io/anon/pen/gnojqg
<div class="item range"> <div> <label>1 min.</label> <input id="zeitrange" name="a" type="range" min="1" max="60" value="5" step="1" oninput="showvalue(this.value)" onchange="showvalue(this.value)" src="controller.js"> <label>60 min.</label> </div> <div> <label>reisezeit: </label> <span id="rangevalue">5</span> </div> </div>
how looks in app:
and here entire html template:
<script id="templates/search.html" type="text/ng-template"> <ion-view view-title="datenerfassung"> <ion-content id="datencontent" scroll="true" class="has-header has-footer" ng-controller="datactrl"> <div class="list"> <div class="item item-divider"> bestimme deinen startpunkt </div> <!-- adressen input feld --> <label class="item item-input item-floating-label"> <span class="input-label">startpunkt in adressform</span> <input id="address" type="text" placeholder="startpunkt in adressform"> </label> <button id="locate" class="button button-balanced" ng-click="locate()">aktuellen standort verwenden</button> <!-- item divider --> <div class="item item-divider"> bestimme deine reisezeit </div> <!-- zeit input slider --> <div class="item range"> <div> <label>1 min.</label> <input id="zeitrange" name="a" type="range" min="1" max="60" value="5" step="1" oninput="showvalue(this.value)" onchange="showvalue(this.value)" src="controller.js"> <label>60 min.</label> </div> <div> <label>reisezeit: </label> <span id="rangevalue">5</span> </div> </div> <button id="t_button" class="button button-balanced" ng-click="set_five()">5 min.</button> <button id="t_button" class="button button-balanced" ng-click="set_ten()">10 min.</button> <button id="t_button" class="button button-balanced" ng-click="set_fifteen()">15 min.</button> <button id="t_button" class="button button-balanced" ng-click="set_twenty()">20 min</button> </div> <!-- fortbewegungsmittel toggle liste --> <div class="item item-divider"> mit welchem fortbewegungsmittel <br /> möchten sie die umgebung erkunden? </div> <ion-radio class="radio" ng-model="$parent.move" value="walk">zu fuß</ion-radio> <ion-radio class="radio" ng-model="$parent.move" value="transit">tram</ion-radio> <ion-radio class="radio" ng-model="$parent.move" value="car">auto</ion-radio> <ion-radio class="radio" ng-model="$parent.move" value="bike">fahrrad</ion-radio> <div class="item item-divider"> welche arten von standorten <br/> möchtest du sehen? </div> <div class="list"> <ion-checkbox id="checkbox" ng-repeat="item in art_liste" ng-model="item.checked" ng-checked="item.checked">{{item.text}}</ion-checkbox> </div> <!-- button zum loslegen --> <div style="text-align:center;"> <button id="erkunden" ui-sref="map" class="button button-balanced" ng-click="setdata()">reachit!</button> </div> </ion-content> <ion-tabs class="tabs-balanced tabs-icon-top"> <ion-tab ui-sref="home" title="home" icon="ion-home"></ion-tab> <ion-tab ui-sref="faq" title="faq" icon="ion-help-circled"></ion-tab> <ion-tab ui-sref="about" title="about" icon="ion-information-circled"></ion-tab> <ion-tab ui-sref="impressum" title="impressum" icon="ion-clipboard"></ion-tab> </ion-tabs> </ion-view> </script>
i appreciate kind of help. best regards, julian
Comments
Post a Comment