CSS styling
I always forget a few things about syntax. Although I work with CSS almost every day, sometimes things geta bit confusing.
The relationship between HTML and CSS
HTML code example
<div id="ahoj">
<div class="nazdar">
CSS entry example
#ahoj {..;..;..;}
.nazdar {..;..;..;}
CSS styling override
Use !important in the styling entry.
CSS entry example
ul {margin:0 !important;}
Style clearing
In HTML
<div style="clear:both"></div>
or in the style
{clear:both}