an
saurus
tags:
alignment
css
textarea
textfield
views:
183
answers:
2
Q:
Why do my text fields and text areas not align when they have the same width?
+2
A:
Try setting the padding and margin values to 0px.
Ólafur Waage
2009-09-03 23:58:14
no dice. That didn't change anything, and I verified the margin/padding with firebug.
klochner
2009-09-04 00:01:26
It is the same in all browsers? Since i know that Safari is annoying when it comes to things like this.
Ólafur Waage
2009-09-04 00:05:52
thanks, see below.
klochner
2009-09-04 00:08:44
A:
klochner
2009-09-04 00:08:19
I thought you had the border set to 1px solid #000 because the border on the above form looks like that.
Ólafur Waage
2009-09-04 00:14:11
I hadn't set the border properties, so not sure what they were defaulting to. Edit your answer and I'll accept.
klochner
2009-09-04 00:16:22
related questions
IE7 HTML/CSS margin-bottom bug.
IE7: header above menu
How to create an all browser-compatible hanging indent style in CSS in a span
How can you customize the numbers in an ordered list?
style.display not working in Firefox, Opera, Safari - IE7 OK
Best WYSIWYG CSS editor?
How important is W3C XHTML/CSS validation when finalizing work?
Solve the IE select overlap bug
IE8 overflow:auto with max-height
Autosizing Textarea
What is the best way to create rounded corners using CSS?
FF3 WinXP != FF3 Ubuntu - why?
Is there a business reason for striving for pure CSS layout?
How to set up a CSS switcher in ASP.NET
Setting a div's height in HTML with CSS
Wrapping lists into columns
CSS Background Color in Javascript
How can I make the browser see CSS and Javascript changes?
What sites offer free, quality web site design templates?
Can you recommend a good CSS online resource or book?
Html CSS Editor
In HTML, how to word-break on a dash?
Detecting font in JavaScript
How do you test layout design across multiple browsers/OSs?
Why doesn't the percentage width child in absolutely positioned parent work in IE7?