CSS reverting to default styles -


a fellow developer has set following css rule, must remain in place.

* {     border: medium none;     list-style: none outside none;     margin: 0;     outline: medium none;     padding: 0; } 

this removes border select , input fields , makes them less ideal. if remove border style in firebug fields normal again. css rules must add revert default styles set browser?

edit: these styles i'm trying revert (on computer):

screenshot http://www.456bereastreet.com/lab/styling-form-controls-revisited/select-single-option/icab-3-osx.png

i think fellow developer attempting create own reset (similar yahoo reset, etc). since he's declaring * instead of specific elements, removes border everything.

you can work around though , still browser's default border on form elements changing * common elements (sans form elements) - it's bit ugly, you're looking for:

a,abbr,acronym,address,b,blockquote,body,br,caption,dd,div,dl,dt,em,fieldset,form,h1,h2,h3,h4,h5,h6,hr,html,i,img,label,legend,li,link,menu,ol,p,pre,small,span,strong,table,td,th,tr,u,ul {     border: medium none;     list-style: none outside none;     margin: 0;     outline: medium none;     padding: 0; } 

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -