Everything posted by pixiepaint
-
Form Label not aligning with textarea in Opera
It worked! Of course it had to be something that simple. :$. Thanks so much.
-
Form Label not aligning with textarea in Opera
Thanks rosiep, that helped get the submit button where it's supposed to be. Sadly my labels are still not aligning properly.
-
Form Label not aligning with textarea in Opera
Hi, I'm having an issue with opera where my form labels are not aligning with a textarea in Opera. I've used some css to style my form and it works in every other browser (as far as I know so far.. using a mac) except Opera. I've attached a screenshot of what I'm talking about. Any suggestions would be really appricated. Here is my code: CSS: /* form */ #contact-area { width: 500px; margin-top: 25px; } #contact-area input, #contact-area textarea { padding: 5px; width: 300px; margin: 0px 0px 10px 0px; border: 2px solid #ccc; } #contact-area textarea { height: 80px; } #contact-area textarea:focus, #contact-area input:focus { border: 2px solid #900; } #contact-area input.submit-button { width: 100px; float: right; margin-right: 70px; } #contact-area input.submit-button:hover { color: #fff; background-color: #632B35; text-decoration: none; } label { float: left; text-align: right; margin-right: 10px; width: 100px; font-size: 1.2em; line-height: 1.4em; } XHMTL: <div id="contact-area"> <form action="FormToEmail.php" method="post" onsubmit="validateForms()"> <label for="Name">Name:</label> <input type="text" name="Name" class="required" id="Name"/> <label for="email">Email:</label> <input type="text" name="email" class="required" id="email"/> <label for="phone">Phone:</label> <input type="text" name="phone" id="phone"/> <label for="Message"> Message:</label> <textarea name="Message" rows="20" cols="20" class="required" id="Message"></textarea><br /> <input type="submit" name="submit" value="Submit" class="submit-button" /> </form> </div>
-
Hey everyone
I have been working in web development and design, more on a consulting level, for quite a few years. I am currently working on creating my own site to start a freelance operation. I went to school for graphic design in 2001, lately I've been teaching myself CSS and PHP. I often run into cross browser compatibility issues, and I know most of the time the solution is found with a lot of trial and error, this if very time consuming and usually makes me want to pull my hair out. So I thought I'd sign up here and see if anyone else has run into the same issues and found a solution. I also would like to share solutions that I have found.