#content{width:405px !important; width /**/:415px; margin: 3px auto; padding:15px;}
Är det någon slags hack? Och i sådanafall på vilket sätt funkar den?
3 svar · 562 visningar · startad av Travoni
#content{width:405px !important; width /**/:415px; margin: 3px auto; padding:15px;}
Är det någon slags hack? Och i sådanafall på vilket sätt funkar den?
bossse skrev:
Hört talas om Google kanske?
http://www.google.se/search?as_q=css+important&num=10&hl=sv&btnG=Google-sökning&as_epq=&as_oq=&as_eq=&lr=&as_ft=i&as_filetype=&as_qdr=all&as_occt=any&as_dt=i&as_sitesearch=&as_rights=
Japp!
http://www.google.se/search?hl=sv&q=Idiot&btnG=Google-sökning&meta=
Internet Explorer 6 and below had a problem with the !important identifier that caused it to be ignored if another declaration of the same property appeared later in the same style declaration block. This can be used to feed Internet Explorer 6 and below special property values that are ignored by other browsers. Internet Explorer 7 fixed this issue.
Källa: http://www.javascriptkit.com/dhtmltutors/csshacks2.shtml (scrolla ner tills du ser rubriken "!important")
/r
är dock inte helt säker på att det här är det hack du söker.