RP Resources

Codes + Layouts + Tutorials + More

×

Community Rules

This comm is open to anyone to post codes, layouts, resources, tutorials, and requests for help and content. Of course, we do have some rules, so please read through them before jumping in; thank you!

Treat others the way you'd like to be treated. This is not a drama comm, and we expect you guys to be awesome and stay civil. If a situation gets out of hand, please contact a mod, and leave comments intact so we can accurately handle the situation.

Please tag your posts and check out the tagging guide if you have any questions!

■ Very long posts or posts formatted with your own div styling for organization should be behind a cut to save people's f-lists.

Work safe above the cut, please!

■ If posting codes, guides, etc. absolutely do not post content that you did not make. That's stealing, and it's super uncool, bro! If you are posting expanded/edited codes made by yourself using another user's coding as well, please be sure you have their permission (You do not need direct permission if they allow edits to be re-posted in their blanket rules.)
■ Do not post tutorials/links to tutorials that show people how to steal codes from other users. Again: Stealing. Not cool.
When asking for help with something, please check the help tags (help: coding, help: graphics, help: icons, help: layouts, help: other) first to see if your question has already been posted and answered to avoid duplicates.

We do not allow game ads to be posted on this comm since there are so many communities specifically for that already; if you're pimping a game as an addition to a regular post, that's fine. (OK: You post an RP code and mention in the post, oh hey, also I'm running this game! NOT OK: Posts dedicated to game promo.)

We do allow other types of community promos if they are related to RP (icon comms, other types of resource comms, etc.) Just shoot us a comment in our dropbox beforehand and we'll let you know if it's cool to post!
×

Tagging Guide

zzz
×

Banners & Buttons





Previous | Next

[info]iheartunicorns
[info]rpresources

[info]iheartunicorns
[info]rpresources

¯\_(ツ)_/¯


[info]iheartunicorns
[info]rpresources
So after reading [info]tessismess' Flexbox tutorial for the billioneth time and finally getting it, I got some inspiration to create a character bio to post. Part of my process is to create an HTML file and work on it from there. Currently the file is hosted on Neocities and it looks and works as intended there. However, when I went to post and make sure that the code did the same on IJ, I got this mess here and I've not been able to figure out where stuff got borked. Below is the code if anyone wants to take a look at it.

Comments

Mar. 2nd, 2023 10:09 pm (UTC)
Okay so this is actually just a tiny IJ-specific restriction that's getting pissy with the code LOL. You didn't make any errors in it. On the site in entry codes, you can't use the fixed background position; so removing just that will get it working for you!

Would you like a couple of tips for truncating things? If not, I totally understand! I don't want to overstep haha.
Mar. 3rd, 2023 03:47 am (UTC)
Ah-ha! Thanks, Tess! And yes, I always appreciate tips in regards to code. ❤
Mar. 3rd, 2023 04:08 am (UTC)
No problem!! 💖 It's always the little things, right lmao, and the fixed background attachment is SUCH a weird issue since it's very much an IJ-specific thing. I've always assumed it's a minor mess-up on their end from 84 years ago.

Basically, the site disallows fixed and absolute positioning of entry code elements to eliminate the potential for it to cover ads or the site's UI, and I think maybe there was something too broad in the programming that took the word "fixed" and decided the background attachment was also A Bad. ANYWAY SORRY, I just wanted to explain why it ruined your code since it's something so random and specific. Okay so!!

flex-wrap:wrap; - Remove unless you're planning on adding new elements that you want to sit below what you currently have. Wrapping with flexbox is for when you're going to have elements side by side but also more than one row (like a cast list) so you're safe to remove that! The wrap spec was what made the code go onto two lines when the background attachment messed things up for you; without it (and still with the fixed attachment) it would still error obv, but the malfunction instead would end up forcing the sidebar into like 100px and ignores the 20% altogether. Completely irrelevant but I like talking about flex LMAO.

width:72.55%; - Change to width:calc(100% - 25%); to simplify/make it easier to change on the fly if you decide you want a different value for the sidebar. This takes away the need to do any actual math yourself, which is always a bonus imo asdfghjkl.

width:90.50%; - Remove; a standard div is automatically 100% width without the padding messing it up. Whenever you DO have something where the padding's messing with the width, though, instead of dealing with accounting for those things when setting the width, add box-sizing:border-box; to the div instead and it'll automatically do it for you. So if you had a div that was 500px wide with 20px padding, without box-sizing:border-box; the div would actually be 540px and with it the div will stay the width you specified, ie. 500px.

cursor:pointer; - Add to each details container in the summary styling to denote that they're clickable.
Mar. 13th, 2023 03:26 pm (UTC)
I meant to reply to this a lot sooner, but I haven't had the energy lately due to work (and then I was out of town for the weekend 😅). Thank you for all of these! When I sit down to look over the code again, I'll definitely add these changes (I'd completely forgotten about width:calc lol).
Mar. 2nd, 2023 10:19 pm (UTC)
Heya! I'm not 100% sure how exactly to fix your issue, but the problem lies in your CONNECTIONS subsection. If you remove 'div style="background:rgba(71,76,117,0.5);"' and the corresponding closing /div at the end of that section, it ??mostly?? fixes the issue, I think. I hope that helps!
Mar. 2nd, 2023 10:46 pm (UTC)
(not OP, just trying to understand)

Weird - is that DW specific or something? Because I was curious and poking at things and removing the bg didn't fix anything.
Mar. 2nd, 2023 10:52 pm (UTC)
I actually only tested it on IJ, since DW would probably be a whole other monster haha. But now that I'm rechecking it, I must have deleted something else while fiddling with the code, because I can no longer reproduce the fix by removing the connections section. 💀 My bad! Spoke too soon. (I'm guessing I must've also deleted that fixed background position thing like tess said)
Mar. 3rd, 2023 03:56 am (UTC)
Thank you, I appreciate your help!
Mar. 3rd, 2023 02:24 am (UTC)
That's super pretty!!
Mar. 3rd, 2023 03:57 am (UTC)
Thank you! 😄
Mar. 4th, 2023 05:03 pm (UTC)
I really love this!!!
Mar. 6th, 2023 04:30 am (UTC)
Thank you!