Last post Dec 27, 2011 02:46 PM by sublime4o
Dec 27, 2011 10:54 AM|sublime4o|LINK
Is there any way to return to the browser default css or ignore all css applied to an element?
Dec 27, 2011 11:19 AM|XIII|LINK
most modern browsers have a built in developer toolbar (press F12) or a firebug extension (firefox) with which you can disable the styles for a specific element or disable portions of CSS all together. Very handy when developing / designing.
Dec 27, 2011 11:26 AM|sublime4o|LINK
Thanks for the reply. I mean reset or cancel any of the css I have applied to the element so it displays with the browser default styles for the end user.
Dec 27, 2011 01:58 PM|XIII|LINK
in internet explorer go to Tools > Internet options > Accessibility > User style sheet. There one can point out to a .css file to override certain settings. I use it personally to pimp the default CSS for these forums and increase readability.
Actually, why do you want to do this? Perhaps there's a better way to get things accomplished if you look to the problem from a different angle.
Dec 27, 2011 02:16 PM|A1ien51|LINK
There is no easy way to do it with HTML/CSS mark up.
Dec 27, 2011 02:46 PM|sublime4o|LINK
I have an upload file control and a button that clears the upload file control. I would like them to look similar, but browsers limit the css that can be applied to the upload file control. Browsers also render the upload file control differently. I was
hoping to just take all the styles off both so that they look similiar, but there doesn't seem to be an easy way to do that. My reset css is basically being applied to the clear button, but not the upload file control.
I am aware of tricks to style the upload file control button, but it seems like overkill and then on top of that I have to worry about browser compatibility down the road. If I could just wipe all styles from the controls, then I would just assume that
the browser would render the upload file control button the same way it does a button input.