Hello,
I recently noticed that the pet treasure for my pet Borneo is not showing up on their page. I have checked the code and moved things around, but nothing seems to be working.
Has anyone else had this issue? Might anyone know a quick fix? I tried re-typing the treasure code and it did nothing.
I can supply code, or you can view page source. Whichever is easier. The code is long, hence me not posting it here first.
Thanks! Hopefully we can figure this out together!
I just looked at Bizzy (cute bee by the way!!) and your issue is the position:absolute on pet treasure items.
img {position:absolute;top:125px;left:320px;}.treasure_item {position:absolute;top:125px;left:320px;}
Try deleting the above from your CSS and see if that helps.
🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights
thanks! that worked for Bizzy. Now to figure out the problem with Borneo's page.... XD
From what I can see from your page's source code, it's because you didn't close your tags properly. Can you post your code here so I can check? I'm not sure which parts of the code are things that you added or things that my browser is automatically closing xD
Looks like on Borneo's profile, you put the wrong tag at the end of your CSS-editing stuff.
Instead of this:
</style>
you have this:
I previewed the code on one of my pets and the items showed up after I changed that but the section didn't seem to want to scroll. I'm afraid I couldn't figure out how to fix that.
[edit] Ah. It was the absolute positioning thing. I had to change the position to relative instead, but that meant re-positioning the div entirely. I played with the numbers a bit and maybe got it close. I'm sure you will have to tweak the numbers to get it like you want it.
{position: relative; left: 88px; top: 466px; padding-right: 4px;width: 227px; height: 75px; overflow: auto;}
I'm not sure which div tag you're talking about. I only have two div closing tags, and they are both at the end of my html div boxes, before my style tags...
please let me know where I'm missing a closure! I'm blind as a bat and have been staring at this thing long enough I can't tell where I'm missing things.
EDIT: WOW. I took out the " type='text/css'" piece in my style tag and his treasure shows up now. I'm lame. It used to work for me... weird that it isn't now! Oh, well. I feel dumb. Thank you so much for helping me!
When I looked, your profile didn't have the closing style tag. I was confused and thought you had used a closing div tag instead, but you hadn't. It was the site's closing div tag for the pet_desc. Your closing style tag is there now though so I don't know exactly what was happening.
The staff is working on the site code right now, and it is breaking some people's pet profiles. (Mine are a mess.) The "type=text/css" issue could be related of that. -shrugs-
In the sCode update, mentioned that the HTML processor is stricter now. Your "type=text/css" might have either been typed with curly quotes instead of straight quotes, or it might've missed a quote somewhere. That would render it invalid for the current processor, whereas the previous version would've allowed it.
I remember seeing something about that now! I probably need to check for that on my pet profiles as well, once I'm ready to get to work on them again. :) -tries to make a mental note- (I'd make a physical note but I'd probably misplace it. LOL)