Styled form fields

2 views
Skip to first unread message

Andy Piper

unread,
Jan 16, 2009, 4:06:35 AM1/16/09
to iwe...@googlegroups.com
In the iWebKit iForum site it looks like there are some form
fields which are optimised for the iPhone display - username,
password, login button etc.

How can i get these using iWebKit 4.01? There is no reference to
them in the user manual. I can put normal HTML <form> elements
inside a pageitem but they do not look great.

--
http://andypiper.wordpress.com/

andypiper

unread,
Jan 16, 2009, 4:15:50 AM1/16/09
to iWebKit
Looking at the iForum code it looks like the form1 classes are part of
the iForum css file, not the iWebkit one - I guess I'll need to borrow
them from there :-/

andypiper

unread,
Jan 16, 2009, 5:08:42 AM1/16/09
to iWebKit
On Jan 16, 9:15 am, andypiper <andypipe...@gmail.com> wrote:
> Looking at the iForum code it looks like the form1 classes are part of
> the iForum css file, not the iWebkit one - I guess I'll need to borrow
> them from there :-/

That was easy - I just took everything from the *FORM* section in the
iForum CSS and added it to iWebKit, then used the form1 classes on my
web form. You should really think about adding this to iWebKit.

I'd also like to be able to have background gradient fills on some
header fields, I think that would work nicely (like with some native
iPhone apps). I've tried the WebKit CSS3 gradient fill properties but
the don't seem to work in Mobile Safari yet.

Andy
Reply all
Reply to author
Forward
0 new messages