Re: [WSG] making form elements the same height

2007-05-25 Thread Travis Hensgen

Hi Taco,

Styling form elements as you are hoping to do is not quite that  
simple, and a good place to read about this is in a recent article by  
Eric Meyer:

http://meyerweb.com/eric/thoughts/2007/05/15/formal-weirdness/

The crux of the article is that there are no standard guidelines for  
how browsers should respond to applying various CSS properties to  
form controls, and that even if one browser styles the controls how  
you would expect, another may not (and probably WILL not, given the  
current state of affairs).


That said, here's some advice:

* Don't apply a height to either the submit button, or the text  
input. Simply use font-size, and let the browser work out the height.


* Put Your email address: inside a label tag like so:
label for=emailAddressYour email address:/label

  Then you could style the label something like:

  label {
  line-height: 1.2em;
  display: block;
  float: left;
  }

  Hopefully then, your label will line up a bit better with the text  
input - you should provide that label tag anyway, for accessibility  
reasons.


* Don't expect that your submit button will ever match the height of  
the input field. If you really want this though, try making the font  
size of the submit button larger than the text field, you may be able  
to get it to match in a lot of browsers. Or you could use an input  
type=image... to get consistency across all browsers.


I hope this helps a bit. Forms are always a fairly tricky thing to  
style!


Good Luck!

Travis





On 25/05/2007, at 6:27 PM, Taco Fleur wrote:

 PS. The form elements I was referring to are the text field and  
the submit

button.

-Original Message-
From: [EMAIL PROTECTED]  
[mailto:[EMAIL PROTECTED] On

Behalf Of Taco Fleur
Sent: Friday, 25 May 2007 5:18 PM
To: wsg@webstandardsgroup.org
Subject: [WSG] making form elements the same height

Hi all,

I have a question I hope one of you might be able to answer.

http://www.clickfind.com.au/test-index.html

I am trying to get the form elements the same height, I would  
expect that

the following would do the trick;

input.text {
border: 1px solid #A9D46F;
height: 1.2em;
font-size: 1em;
margin: 0;
padding: 0.2em;
}
input.submit {
border: 1px solid #99;
height: 1.2em;
font-size: 1em;
margin: 0;
padding: 0.2em;
}

But it does not, and I do not understand why, I would like to  
understand why

it does not.

Also, is there any way to align the text on the left hand side of  
the text

field to the middle of the textfield?

Thanks in advance for any help.





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***







***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Mocking up web interfaces

2007-05-23 Thread Travis Hensgen
Yeah, I like Fireworks too, although for some reason, a lot of  
designers don't.


Fireworks is particularly good for laying out Web Application  
interfaces IMHO. The CS3 version has some really useful features in  
that regard, such as the 9-slice scaling guides, which let you better  
define how elements should scale - e.g. you can exclude rounded  
corners from the scale, so that they don't get stretched when you  
scale up. very useful!


And if price is an issue, Fireworks standalone is a good deal cheaper  
than Photoshop.


Good luck

Trav

On 24/05/2007, at 10:14 AM, John Faulds wrote:


I use Fireworks.

On Thu, 24 May 2007 09:22:42 +1000, Douglas Reith  
[EMAIL PROTECTED] wrote:



Hi there,
Just a quick one - what do people most commonly mock up web site  
designs

in? (Photoshop?)
Also, if possible, Linux and GPL or similar would be great!!
Cheers,
Doug





--
Tyssen Design
www.tyssendesign.com.au
Ph: (07) 3300 3303
Mb: 0405 678 590


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***