html, css, jQuery, PHP, mySQL

Posts Tagged ‘declarations’

CSS From Scratch. 5:2 CSS Properties

Saturday, August 6th, 2011

Before 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: , , , , , , , , , , , , , , , , , , ,
Posted in Tutorials | No Comments »

CSS From Scratch. 5:1 The Cascade

Saturday, August 6th, 2011

In 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: , , , , , , , , , , , , , , , ,
Posted in Tutorials | 1 Comment »