Share this Page URL
Help

Transferring Your Web Pages > Setting Other FTP Options - Pg. 252

SUNDAY AFTERNOON Working with Styles 253 selector should only be used to specify style properties for a single instance of an element, in order for the document to be a valid HTML 4 document. The following example applies the style properties to any DIV element that belongs to the "announce" class (has an id="announce" attribute set): div#announce { color: white; background: black; padding: 5px; margin-left: 25px; margin-right: 25px; border: 6px yellow double; } or #announce { color: white; background: black; padding: 5px; margin-left: 25px; margin-right: 25px; border: 6px yellow double; }