html, css, jQuery, PHP, mySQL
Saturday, August 6th, 2011
TweetBefore looking further at CSS here are some useful examples of CSS properties. Notice how when we set a border before we used a shorthand which combined declarations for the border width, style and colour into one line: * {border: 1px solid red;} If we wrote these out as separate declarations the CSS would look [...]
Tags: background colour, border color, border width, comma separated list, css properties, declarations, element, font families, font family names, fonts, hyphen, line border, sans serif, serif font, shorthand, source of information, style font, text colour, times new roman, w3schools
Posted in Tutorials | No Comments »
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 »