html, css, jQuery, PHP, mySQL
Saturday, August 6th, 2011
TweetIn the previous lesson we learned how to link a CSS file to an HTML document and how to use the Star Selector or Wildcard to put a border around every element on the page. You should have a file named stlye.css saved in the same folder as index.html. If you do not, please consult [...]
Tags: attributes, cascading style sheets, css file, css syntax, curly braces, declarations, div, element, elements, grammar, headings, html document, paragraphs, semantics, semi colon, value pairs, wildcard
Posted in Tutorials | 1 Comment »
Friday, August 5th, 2011
TweetThe asterisk is known as the star selector, or wildcard. It just means “everything” and can be very useful in CSS. * { border: 1px solid red; } This example selected all of the elements in your html document at once, and told the browser to give them all a red border, one pixel wide [...]
Tags: asterisk, background color, background colour, body background, body element, body tag, caption, css properties, curly braces, dashes, dots, element name, html attributes, html body, html document, one good reason, quot, semi colon, text colour, value pair
Posted in Tutorials | No Comments »