This topic has been closed. No new entries allowed.
Reason: You can now post comments on articles on Dev Opera
You need to be logged in to post in the forums. If you do not have an account, please sign up first.
27: CSS basicsCascading Style Sheets are the second major topic of the Web Standards Curriculum! You can use CSS to style your HTML in whatever way you want, changing fonts, colors, element positions on the page, and more. In this article Christian Heilmann give you a basic introduction, including CSS anatomy and basic concepts, CSS shorthand, and how to apply CSS to HTML.
( Read the article )
27. September 2008, 05:55:03 (edited)
Originally posted by AndBre:
Typos:1. "what effect certain parts of you CSS is having on your web page"2. "that are children of h3 elementsblue, but no other strong elements: p ": can you have a look at the source?3. "negligable"
All fixed - thanks for pointing them out!
Developer Relations Manager
Editor, dev.opera.com and labs.opera.com
15. January 2010, 16:04:26 (edited)
The :first-line and :first-letter pseudo-elements contain 2 "--"
There is an extra "(" in the :lang() pseudo-class example.
Also, I'm not sure the example below makes much sense (unless the author uses the same ID on various elements across a site), because of the "uniqueness" nature of ID.
matches the element with the id attribute example, but only when it is a div