html - Form Inputs & Labels in separate rows? -


i have form:

<form action="thankyou.php" method="post">   <label>name:</label>   <input class="contakt-input" type="text" name="firstname"/>    <label for="">e-mail</label>   <input class="contakt-input" type="text" name="secondname"/> </form> 

and have elements underneath another, is, have this:

name:
[field]
e-mail:
[field]

but right now, right next each other - how fix this?

add following css

 label { display:block } 

Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -