Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Some general formatting and a few missed tags not withstanding, the largest issue seems to be the 900px negative margin you have on .featured for some reason. It moves the whole thing up past the top of the page. I couldn't even see the form when I first popped your code into Dreamweaver. Otherwise, to simply get the input fields to stack I suggest setting them to <code>display: block;</code> and they should each get their own line. A simple <code>margin: 0 auto;</code> or in your case <code>margin 0 auto 20px;</code> (as long as the left and right margins are set to auto) will keep it centered.</p> <p>The full content of my test document is as follows:</p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;title&gt;Untitled Document&lt;/title&gt; &lt;style type="text/css"&gt; .featured form input[type="submit"] { background: #3097be; color: #ffffff; width: 100%; margin-bottom: 0px; font-size: 20px; font-family: 'Open Sans', sans-serif; -webkit-transition: background linear .2s; -moz-transition: background linear .2s; -o-transition: background linear .2s; padding-left: 20intro; } .container { padding-top: 0px; } .featured { min-height: 500px; float: right; margin-bottom: 30px; } .featured h2 { font-size: 24px; overflow: visible; background: url(http://i.imgur.com/oP8bXR7.png) center no-repeat; -webkit-border-radius: 0px; -moz-border-radius: 0px; -o-border-radius: 0px; border-radius: 0px; padding: 20px 0px 5px 30px; color: black; margin-bottom: 0px; } .featured form { background: url(http://i.imgur.com/swcwFW6.png) center no-repeat; -webkit-border-radius: 0px; -moz-border-radius: 0px; -o-border-radius: 0px; border-radius: 0px; padding: 20px 30px 30px 30px; margin-top: -20px; } .featured p { color: blue; text-align: center; } .featured form input{ display: block; width: 225px; -webkit-border-radius: 0px; -moz-border-radius: 0px; -o-border-radius: 0px; border-radius: 0px; border: none; padding: 3px 9px 3px 9px; color: #bebebe; box-shadow: none; font-family: 'Lato', sans-serif; margin: 0 auto 20px; -webkit-transition: background linear .2s,color linear .2s; -moz-transition: background linear .2s,color linear .2s; -o-transition: background linear .2s,color linear .2s; } .featured form textarea { width: 200px; height: 70px; background: #474747; -webkit-border-radius: 0px; -moz-border-radius: 0px; -o-border-radius: 0px; border-radius: 0px; border: none; padding: 12px 20px 12px 20px; color: #bebebe; box-shadow: none; font-family: 'Lato', sans-serif; margin: 0 auto 30px; -webkit-transition: background linear .2s,color linear .2s; -moz-transition: background linear .2s,color linear .2s; -o-transition: background linear .2s,color linear .2s; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div class="container"&gt; &lt;div class="row"&gt; &lt;div class="span4 featured"&gt; &lt;h2 class="feature-title"&gt;It's Never Been Easier!&lt;/h2&gt; &lt;p&gt;Create Your Free Profile Now!&lt;/p&gt; &lt;form action="send-mail.php" method="post" id="contact-form"&gt; &lt;input type="text" value="Full Name" name="name" class="required"&gt; &lt;input type="text" value="Email Address" name="email" class="required email"&gt; &lt;input type="text" value="Username" name="username"&gt; &lt;input type="text" value="Password" name="password"&gt; &lt;input type="submit" name="subscribe" value="JOIN FREE"&gt; &lt;/form&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>EDIT: I didn't even notice the p tag inside the h2. I just focused on CSS.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload