css - !important doesn't work, doesn't extend 100% -


why doesn't "!important work"?

<img src="images/logo.png" id="logo"> 

css:

html { background-color: #ffffff; }  body { margin: 0 auto; width: 1080px; }  #logo { width: 100% !important; } 

but still #logo doesn't extend 100%, 1080px.

your body of width: 1080px, nothing of width: 100% can go beyond this.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -