zensir


Member since 08/15/2006

8 snippets

View their favorites

Profile

All time reputation: 89

Achievement

popular snippet:having a snipplet with 20 favorites

zensir's Recent Snippets



« Prev 1 Next »
  1. FAV How to size text using ems - CSS

    BODY {font-size:62.5%} This takes 16px down to 10px (16 x 0.625 = 10), which apart from being less huge is a nice round number. From now on it’s easy to think in pixels but still set sizes in terms of ems: 1em is 10px, 0.8em is 8px, 1.6em is 16px,...
    CSS saved by 27 people
    posted 13 years ago zensir
  2. FAV Background images for bullets list

    To move the content away from the background image apply "padding-left" to the "LI" element. In this case "0.6em" has been used. As with vertical alignment, list padding will be determined by the size of your image.
    CSS saved by 148 people
    posted 13 years ago zensir
  3. FAV Resize a Popup to Fit an Image's Size

    Resize a Popup to Fit an Image's Size By Peter Todorov February 10th 2003 Reader Rating: 9.1 If you're a Webmaster who has to deal with image galleries, then make a note of this clever script. It gives you a solution to a very common problem --...
    JavaScript saved by 4 people
    posted 13 years ago zensir
  4. FAV Setting target=“_blank” to external links and standards

    If you want your pages to be valid XHTML-Strict, but you also wish to open external links in new window, the following snippet is doing just that—sets attribute target=“_blank” to all external links in a document to keep your code valid XHTML-S...
    JavaScript saved by 8 people
    posted 13 years ago zensir
  5. FAV Table with style, CSS

    Table with style as in; http://24ways.org/examples/tables-with-style/table_columns.html
    CSS saved by 56 people
    posted 13 years ago zensir
  6. FAV image html code

    HTML
    posted 13 years ago zensir
  7. FAV html link new window

    HTML saved by 4 people
    posted 13 years ago zensir
  8. FAV border image rollover effect cross browser

    CSS saved by 3 people
    posted 13 years ago zensir
« Prev 1 Next »