I googled it, but didn't find a satisfactory answer. Do I change the CSS file or the PHP file?
Secondly, is there a better way of getting more than one image to appear on a page than copy-pasting the php code like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>IS THIS THING ON?</title>
<link rel="stylesheet" href="./wp-content/themes/cosmicbuddy/_inc/css/screen.css" type="text/css" />
</head>
<body>
<a href="<?php bp_send_public_message_link() ?>" class="myButton"><!-- button --></a>
</body>
</html>
While this is the CSS code:
.myButton {
background-image: url(/wp-content /themes/cosmicbuddy/_inc/images/kaksnuppu.gif);
height: 22px;
width: 22px;
margin-left: 5px;
display:inline;
}
.myButton:hover {
background-position: 0px 25px;
}
Thanks a lot!