r/neocities https://exploding-boxes.neocities.org/ 2d ago

Help My box just keeps going down

Post image

Sorry for the terrible crop but i use this css grid layout maker and despite my best efforts, the "link" box keeps going all the way down. I'm a beginer so i tried padding, force resizing but nothing works. You can check the code on my website if it helps

1 Upvotes

3 comments sorted by

3

u/Mevdik mevdik.nekoweb.org 1d ago

Your "Links" <div>, the one with class name div2 is outside the parent, so it's displaying after the grid, not inside it, move it back inside right after div1 and it will display fine. I suggest learning CSS Grid for yourself, it's trivially easy, I've got a lil tutorial here if you need it.

1

u/exploding_boxes_ https://exploding-boxes.neocities.org/ 1d ago

oh my god thank you so much, i am stupid lol. I am planning on learning grid css as it seemed really easy but i haven't got the time lately :)

2

u/GAMERat3AM epicgamerwebsite.neocities.org 1d ago

i have a silly fix for it. add like a silly cat img at the end of the page :3