moonbug.org

Avatar

You only live a day, but it’s brilliant anyway

The Hills Are Alive With The Sound Of YouTube

Heee! Greg and I managed to goad Pat into uploading video of him playing and singing a couple of tunes. Now if only I could convince Gabriela to sing “Lunes Otra Vez” in front of the iSight while I accompany her on guitar.

Punk On The Run

punk on the run

Update: now available as an eCard!

The Case Of The CSS Background Image

So Roberto redesigns his blog but mentions in his comments he can’t figure out how to give the page a background image. Pero es facil — a bit of CSS to the rescue! The rule itself looks something like this (mind the wrap):


body {
background: #000 url(http://example.com/images/background.gif) top left no-repeat;
}

Add the above code to your stylesheet and it will position your background image, guess what, top left of the page, and that’s it. Probably not what you want, no? How about a horizontal repeat? Just replace “no-repeat” with “repeat-x”. Vertical repeat: “repeat-y”. Repeat all over the page: just get rid of “top left no-repeat” altogether. Note that an absolute url is used to point to the image (as opposed to just “images/background.gif”). It assures that the image will be found no matter the subdirectory in which your stylesheet is located.

Now, having never used blogspot, I’m not sure if you can host images there, so I will leave that for you to find out…

Continue Previous page Next page

Alright, Zubin, Hit It!

What I'm listening to on Last.fm...

  • Loading...