Skip to main content

Home/ CSS Evangelist/ Group items tagged css theory

Rss Feed Group items tagged

Vernon Fowler

CSS Sprites with Inline Images | CSS-Tricks - 0 views

  • The image is "content" while an empty div is not.
  • If you want to keep your image as part of the regular flow of the document the best you can, you can always wrap the image in a div with relative positioning
  •  
    "The "sprite" is the single, combined graphic. We can use this same theory, only instead of using background-image to show the graphic, we can use an image right in the HTML itself (inline image)."
mikhail-miguel

CSS Basics - Making Cascading Style Sheets Easy to Understand - 1 views

  • You've heard the buzz about the seperation of style from content, but you are stuck in the world of nested tables and deprecated markup. If so, you have come to the right place! Using CSS to style your (X)HTML files, will benefit you and your visitors in many ways.
Perry Branch

mezzoblue § CSS Crib Sheet - 0 views

  • Name classes/IDs based on function, not appearance. If you create a .smallblue class, and later get a request to change the text to large and red, the class stops making any form of sense. Instead use descriptive classes like .copyright and .pullquote.
  • When in doubt, validate.
  • When relying on floats for layouts, make sure they clear properly.
1 - 4 of 4
Showing 20 items per page