Difference between revisions of "CSS Primer"

From Dreamwidth Notes
Jump to: navigation, search
m
m (Block versus inline display)
Line 57: Line 57:
  
 
== Block versus inline display ==
 
== Block versus inline display ==
 +
 +
* [http://www.w3schools.com/css/pr_class_display.asp display] --
 +
You can make a span display like a block element, or a div display like an inline element, with this rule
  
 
= References =
 
= References =

Revision as of 21:32, 23 April 2011

You might also want to look at the HTML Primer. This is not a complete list of CSS rules and effects.

CSS Basics

Selectors

Classes and IDs

Chaining together

Direct descendants

Backgrounds

Borders

Lists

References

Positioning

Absolute, Relative, Fixed

Floats

References

Block versus inline display

You can make a span display like a block element, or a div display like an inline element, with this rule

References

  • CSS3 Litmus -- which browsers support what CSS3 attributes (note: does not include FF4)