Tutorials
Resources
Forum
Communities
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Abhi
(77)
Appukuttan
(40)
raj krishna
(37)
Last 7 Days
Appukuttan
(660)
Babu Akkandi
(465)
Tejinder Singh ...
(273)
more...
New Feature:
Community Sites
:
Create your own .NET community website and start earning from Google AdSense !
It's Free !
Preventing Unwanted background colouring of textboxes by google toolbar
Posted Date: 02 Sep 2008
Resource Type:
Code Snippets
Category:
ASP.NET WebForms
Author:
Jayesh
Member Level:
Gold
Rating:
Points
: 5
You might have noticed the annoying yellow colour in the background of some text boxes in your webforms when they are seen in a browser with google toolbar enabled.
I had this problem and spent a lot of time in finding a solution for it.
It is possible to disable it from the settings menu of google tool bar, at the client side only. ie; every client browsing your page has to disable the background colouring from the settings menu of google tool bar. So that is obviously not the solution.
If you want to strictly avoid such change in style settings, you can simply add '!important' to the style sheet and can get rid of the problem very easily.
Now your code for a textbox will look something like,
<asp:TextBox ID="TextBox1" runat="server" Style="z-index: 100; left: 160px; position: absolute; top: 135px; background-color: #ffffff!important"></asp:TextBox>
The stylesheet rule here is '!important'. So it will not be overridden by google tool bar any more.
if you have any doubts on this please mail to me
jayeshkolpurath@yahoo.co.in
Thanks
-Jayesh
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
Yellow colour of text boxes
.
Yellow colour
.
Textbox background color
.
Remove yellow colouring
.
Background colour google toolbar
.
Auto fill background colour
.
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
Saving file retreived from Fileupload on server
Previous Resource:
Client Side Validation of New User Name Using Custom Validator.
Return to Discussion Resource Index
Post New Resource
Category:
ASP.NET WebForms
Post resources and
earn money
!
Related Resources
Vb.net code to diplay sale item image and title in a pop up with other related sale items details.
Serialize Deserialize a class
CheckBoxList - Selecting Multiple Items
Client Side Validation of New User Name Using Custom Validator.
How to find out version of ASP.NET is running on computer
dotNet Slackers
BizTalk Adaptors
Web Design
Contact Us
Privacy Policy
Terms Of Use