Web

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...

Standard
Drawings

Butch

butch

See, thing is, Butch's really not an evil person. Sure, he has a particular interest in brain tissue, experimental biology, and unborn foetuses put on formaldehyde -- but other than that, he's a regular Joe. It's that lense flare coming off of his glass right eye. They used to make fun of it in high school. He used to hate it, but he's learned to live with it -- better yet: use it to his advantage.

Standard