Hi, I made a small image, its a photo which I cut in gimp graphics, and painted the background, but now it wont go to the correct size in the webeditor. Im trying to put it on a red rectangle which I made with css.
I want it on the right side of the rectangle. It must fit the exact height of the rectangle. Its about a third of the size of the rectangle.
this is the code: .imaget
{
position:absolute;
background-image:url(../image/talia.png
background-color:transparent;
background-position:right-top;
height:150px;
width:130px;
left:800px;
top:1px;
}

Then the code I put in html is<div class="image">
<img src="talia.png.jpg"></div>

Ive tried putting the height and width in img src, but that doesnt work either.
the height and width seems to have no effect, when I put it in. It just stays the same size as it was loaded into the webeditor.