Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Yes, put <code>!important</code> behind them:</p> <pre><code>.class{ height:100px !important; width: ...etc } </code></pre> <p>Watch out though: Internet Explorer 6 and previous versions simply ignore <code>!important</code>, while IE 7 supports them. More info on this can be found <a href="http://modxcms.com/about/team/rthrash/css-hacking-important.html" rel="nofollow noreferrer">here</a> or <a href="http://www.electrictoolbox.com/using-important-css/" rel="nofollow noreferrer">here</a>.</p> <p><code>!important</code> is something to consider, butyou should try to avoid it. Most of the times it can be avoided by building a better html/css tree or adding a class (try to keep them generic though ;)).</p> <p>@EDIT: You should always put the most generic selectors on top, and the build down to the more specific ones. for example: put a img{} selector on top to provide a global specifier for all your images, then you go down more and more specific.</p> <p>wrapper img{} wrapper container img{} wrapper container div.something img{}</p> <p>and so on. Don't try to overdo the classes and ID's, the more generic your html/css is the better. containers and wrappers are often overused and unnescessary. Try to write good <a href="http://en.wikipedia.org/wiki/Semantic_HTML" rel="nofollow noreferrer">semantic html</a> and keep html and css seperated. Don't use css when you should us HTML (and vice versa)</p> <p>Often it is better to create your whole html file, and when everything looks good, provide css for the finishing touch. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload