i need to make a calender for class and one of the things the professor wants us to do is have some images so i have images i want to use for each of the holidays. however i cant seem to get the image to fit in the cell of the table. the image is really big and i cant figure out how to make the image smaller to fit the cell. i want the image to be the background of the cell so that my text is on top of the image. i have tried using <img src= “images/newyearday.jpg” height=”50″ width =”50″ /> this puts the image in the cell and allows me to change the size of the image however the image is not the background and the text just moves around the image. so i have to use
background=”images/newyearday.jpg”
this sets it as the background but i can not figure out how to change the size of the image so that i see more than just a small part of the image.
heres the part of the code where this is located.
<tr height=”15%”>
<td> </td>
<td> </td>
<td bgcolor= “orange” width=”15%” background=”images/newyearday.jpg”> 1: <br/>New Years Day</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
</tr>
i have to use notepad for class so i can not use this in dreamweaver. ive tried adding height and width inside and outside the background qoutes and it still does not change the size of the image. can someone please help me find out what im doing wrong? also i would like the code to work not only in IE but also FireFox as i have to use FireFox on my laptop where i do 95% of my work, and IE when im in class.