single line comment in HTML

from http://htmlhelp.com/reference/wilbur/misc/comment.html Since HTML is officially an SGML application, the comment syntax used in HTML documents is actually the SGML comment syntax. Unfortunately this syntax is a bit unclear at first. The definition of an SGML comment is basically as follows: A comment declaration starts with <!, followed by zero or more comments, followed by >. A comment starts and ends with … Read more

CSS !important not working

Give the <div> an id and then add this rule to your CSS stylesheet (or in a <style> tag if you don’t want to change the style sheet): !important in CSS allows the author to override inline styles (since they have a higher precedence than style sheet styles normally). It doesn’t automatically make the style marked !important override everything else. SEE: The W3C’s … Read more