Article View: pl.comp.lang.php
Article #230629Re: [OT] form
From: Rafal Podsiadly
Date: Wed, 29 Oct 2014 17:35
Date: Wed, 29 Oct 2014 17:35
28 lines
2305 bytes
2305 bytes
W dniu poniedziałek, 27 października 2014 15:00:30 UTC+1 użytkownik platformowe głupki napisał:
> <form action="index.php?abc=1" method="post" enctype="multipart/form-data">
> Czy mam wykasować wszystkie wpisy w tabeli: <input type="submit"
> name="submit" value="Wykasuj" style="margin-left: 700px;">
> </form>
>
> dlaczego w żaden sposób nie mogę umieścić przycisku obok napisu?
> zawsze przechodzi mi do nowej linii... Ktoś pomoże?
W sumie to źle robisz jeśli opisujesz inputy to powinnes wykorzystać label
wydaje mi sie ze chcesz input do prawej krawedzi ustawić
w css
div.div_input {
text-align: right;
width:100%
padding-left: 700px;
}
div.div_input label, div.div_input input {display: inline}
<form action="index.php?abc=1" method="post" enctype="multipart/form-data">
<div class="div_input"></div>
<label for="id_inputu">Czy mam wykasować wszystkie wpisy w tabeli:</label> <input id="id_inputu" type="submit" name="submit" value="Wykasuj">
</form>
polecam lekturę http://www.w3schools.com/cssref/pr_class_display.asp
milej zabawy
Technical Details
Message-ID:
<a5a182ce-35e5-4c3e-9d92-eb78749dbe90@googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.cyf-kr.edu.pl!news.nask.pl!news.nask.org.pl!newsfeed.pionier.net.pl!news.glorb.com!u7no984816qaz.1!news-out.google.com!u5ni16qab.1!nntp.google.com!s7no1410304qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mailReferences:
<m2lj5s$imb$1@node1.news.atman.pl>Show Full Headers
Complete Article Headers
X-Received: by 10.236.7.232 with SMTP id 68mr2475149yhp.49.1414604131149; Wed, 29 Oct 2014 10:35:31 -0700 (PDT) X-Received: by 10.140.42.107 with SMTP id b98mr50094qga.11.1414604131133; Wed, 29 Oct 2014 10:35:31 -0700 (PDT) Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.cyf-kr.edu.pl!news.nask.pl!news.nask.org.pl!newsfeed.pionier.net.pl!news.glorb.com!u7no984816qaz.1!news-out.google.com!u5ni16qab.1!nntp.google.com!s7no1410304qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: pl.comp.lang.php Date: Wed, 29 Oct 2014 10:35:30 -0700 (PDT) In-Reply-To: <m2lj5s$imb$1@node1.news.atman.pl> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=31.178.24.127; posting-account=reqlzgoAAACKWK1i9kGr8VyQtzu_4AF6 NNTP-Posting-Host: 31.178.24.127 References: <m2lj5s$imb$1@node1.news.atman.pl> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <a5a182ce-35e5-4c3e-9d92-eb78749dbe90@googlegroups.com> Subject: Re: [OT] form From: Rafal Podsiadly <spinacz24@gmail.com> Injection-Date: Wed, 29 Oct 2014 17:35:31 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit