TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Absolute Beginners (http://www.talkphp.com/absolute-beginners/)
-   -   PEAR html quick form styling using css (http://www.talkphp.com/absolute-beginners/4676-pear-html-quick-form-styling-using-css.html)

planepixel 07-03-2009 06:55 AM

PEAR html quick form styling using css
 
Hi i recently discovered PEAR HTMLQuick_Form and wondering how i can style it using CSS?
do i have to use javascript or there is better way?

please help
thanks

adamdecaf 07-03-2009 05:50 PM

1) Use JS to grab each object (Either by document.getElementsByTagName, ID or class)
2) If you can't assign classes/ID's to the objects your in for a tough time.
3) Use CSS (but only if you can assign classes/ID's
4) Manually style each element Inline (I don't think you can..)

I would suggest using CSS and hope for the best. Frankly because I think that it just creates elements without assigning a class, ID or name to them.


All times are GMT. The time now is 05:45 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0