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 */
}
Related posts:
