Hi.
A simple demo/test on form elements and tables:

http://onwebdev.blogspot.com/2011/04/css-styling-spreadsheet.html

I've applied my personal recipe to get a consistent height for input elements:

input {font: 1em family;}

A little bit of jQuery just to show a title attribute on each input. Of course you can do this dynamically when you assembly the form with a server-side language:

<?php
// $value contains the attribute's value for each input element. Use it in a loop

$html .= '<input type="text" name="' . $value . '" id="' . $value . '" title="' . strtoupper($value) . '" />';


// loop ends

echo $html;

// or return $html if this occurs in a function or class method

?>

HTH :-)

http://www.css-zibaldone.com
http://www.css-zibaldone.com/test/  (English)
http://www.css-zibaldone.com/articles/  (English)
http://onwebdev.blogspot.com/  (English)








______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to