Things that I forgot about

With the chance of layoffs roaming around, I decided to brush up on my rusty web design skills a bit, and picked up a freelance work. There are tons of good old web design tricks that I used to use all the time and I forgot about and had to look it up so I decided to take a memo here.

  • quick js to make class change on roll over
    class="normal" onmouseover="this.className='active';" onmouseout="this.className='normal';"
  • In BBEdit, how to grep select each line as one thing and repeat as \1: (^[^\r]*)
  • Replace the “H1″ item with image by css- header of blogs and stuff:
    #blog-title a {
    display:block; /* We do this so we can add a background image */
    text-indent:-9000px; /* Hides the text--but not from search engines */
    height: 180px; /* height of your logo, like 180px */
    width: 940px; /* width of your logo, like 940px */
    background:url(img/logo.gif) no-repeat top center; /* adds in the logo image */
    }

This entry was posted in Linux, Mac, and LAMP Open Source, Web/Print Design and Dev. Bookmark the permalink. Trackbacks are closed, but you can post a comment.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Welcome to Daigo’s Daily Digital Diorama. I blog about... whatever that comes to my mind.
  • Change color

    Purple Red Green Blue No Style

  • Archives

  • Calendar

    July 2008
    M T W T F S S
    « Jun   Sep »
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  
  • Categories