Hi there. I'm trying to add my own pet image to [link=https://subeta.net/petinfo.php?petid=3227350]Luz's[/link] profile. I want to insert it as an image, like with the image tag. But when I use the div, It ends up in the "description" area, not where it's 'supposed' to be. is there any way to do that or do I need to insert it into the background?
Any tips are appreciated! Thank you <3
Edit: here's a pastebin of my code, if anyone wants to peek... I used the inspector on chrome to get the id's and classes, hence why they are empty for now. [link=https://pastebin.com/46CgnMuc]Pastebin[/link]
Edit2: Also, how can i get the inner, second scrollbar only on the treasure? Thank you....
I'll show you the code that I use for my base :) Also, W3schools is an amazing resource for css! you were on the right track. you just want to make sure that you only have the div listed once but combine everything into the same one if ya can. The thing I'm looking at doesn't have the .png of the image in the image tag, so I'm not sure if how it was put in, that might've been part of the issue. But anyways, this should help get ya rollin again
{background-image: url(your .png here); background-repeat: no-repeat; width: 200px; height: 200px; position: absolute; top:-80px; left:140px;}
So I have to insert it as a background image? it can't be a regular image in a div? Shucks. Thank you for your help!!! Love your art, by the way!!!
@ Cryokor Yes, you can put it in it's own div as it's own image. :) I thought you were trying to replace the original subeta pet image, sorry if I misunderstood!
The code to make it an image you can move around try this in the style tags-
{position: absolute; top: 100px; left: -100px;}
and then put in your image like normal in your div with the img tags ^.^
(edit, and thank you btw!)
I wanted to replace the pet image with my own image, but i wanted to put it in , but not as the background lol!
so when you used the first code it showed up as a background? how did it show up as a background? was it still small and repeating? was it still just one and where it was supposed to be or somewhere else? i don't know why that wouldn't work for you. the word background in the code has nothing to do with an actual background that you would code as a background div because it's under the pet_img div.
edit: did you take out the original pet_img div? if there are two it will only show one.
Sorry, I think i confused you.
I know the code to add it as a background, but I wanted to know if i could get it to work as an tag.
Like, removing it in the CSS like this
{
background: none;
}
then adding my image in the html like this
Does that make sense? Sorry ;w;