Ask Your Question
0

How to fix the search bar bug on iPad

asked 2012-08-13 16:32:59 -0500

Toms gravatar image

There is a skin bug of the search bar on iPad - it is shifted. does someone know how to fix the css ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-08-13 22:42:18 -0500

mcg gravatar image

This is a well-known problem with iOS devices: they tend to override the defaults for all sorts of form elements, including buttons, checkboxes, radio buttons, etc. To fix this particular problem, try adding this custom CSS:

input[type="text"] {
    -webkit-appearance: none;
}

That's worked for me. I'm putting together a highly hacked theme for Askbot for my site and this problem was vexing me.

edit flag offensive delete link more

Comments

@mcg can I see your site link. Thanks.

pajju gravatar image pajju  ( 2012-08-14 06:03:55 -0500 )edit

Sure, but please be gentle. I am still working on it heavily. http://ask.cvxr.com

mcg gravatar image mcg  ( 2012-08-14 14:53:56 -0500 )edit

@mcg I see no effect. I've addet it to the custom css field on mysite.com/settings/GENERAL_SKIN_SETTINGS/

Toms gravatar image Toms  ( 2012-08-21 07:41:44 -0500 )edit

I added it right into the skin's CSS file. Make sure to use the CSS inspector to see if it is not being overridden by other style entries.

mcg gravatar image mcg  ( 2012-08-23 16:25:55 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-08-13 16:32:59 -0500

Seen: 144 times

Last updated: Aug 13 '12