This zone is sleeping right now! ZzzZZzzz

Better not disturb it! ~You go to the petrol station and buy a slushy instead, everything is cool!~

This area will open again in 000.beats!

(Learn about Swatch Time)

Some other zones are awake :^]


Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
Autumn, 26 Oct 2026 - @70.32
Forum Activity: Four Stars Random | Recent Posts | Guild Recents
News: :happy: Open the all windows! Your mind needs storms and air! :happy: Guild Events: TIME FOR HALLOWEEN CRAFTS!
Super News: ~~MelonLand's Halloween Profile Design Contest 2026~~
+  MelonLand Forum
|-+  Da Web Revival
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  HELP: Elements disappearing when they are too long for the screen?


« previous next »
Pages: [1] Print Embed
Author Topic: HELP: Elements disappearing when they are too long for the screen?  (Read 2384 times)
wangobangy
Jr. Member ⚓︎
**
View Profile WWW


vampires, please give me a chance
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: wangobangy

Artifacts:
First 1000 Members!Joined 2023!
« on: Summer, 06 Jun 2023 @804 » Toggle Font Embed

I hope that I will be able to explain my issue.
When my element gets too big for the screen, and runs into other elements, it disappears from view.
Here's a gif that hopefully explains my issue better than I can.
https://cdn.discordapp.com/attachments/781972303726510103/1115704255148474408/GIF_6-6-2023_2-07-26_PM.gif
What could be causing this to happen? I have tried searching around and maybe I just don't know how to search for this specific problem, but I just cannot find anything.

I think I just want it to resize with the window. I also plan on having a margin around it as well. Any help would be nice. Thank you!
:smile:

Logged

https://wangobangy.neocities.org/forum%20signature.png
Melooon
Hero Member ⚓︎
*****
View Profile WWWArt


So many stars!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
Caught by RubbereonYou're a Star!Flinstone VitaminWavy Shoulder-Length Hair with BangsBug!Top Hat
« Reply #1 on: Summer, 06 Jun 2023 @819 » Toggle Font Embed

I can't say exactly without testing the code; but I guess you have some sort of "clear: both; and float" combo? If that's the case, if the inner box can't resize small enough, it's snapping off into yonder distance somewhere!

If you make sure it can resize fully and has no fixed width elements, that should help!

If you post the code or link to a test page I can prob give a more exact suggestion!

Logged


everything lost will be recovered, when you drift into the arms of the undiscovered

Artifact Swap: Have a chillpillRed Tulip
wangobangy
Jr. Member ⚓︎
**
View Profile WWW


vampires, please give me a chance
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: wangobangy

Artifacts:
First 1000 Members!Joined 2023!
« Reply #2 on: Summer, 06 Jun 2023 @821 » Toggle Font Embed

I've actually managed to figure out what was wrong on my own.

I would have deleted the post if I could figure out how. My bad! 

Logged

https://wangobangy.neocities.org/forum%20signature.png
Melooon
Hero Member ⚓︎
*****
View Profile WWWArt


So many stars!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
Caught by RubbereonYou're a Star!Flinstone VitaminWavy Shoulder-Length Hair with BangsBug!Top Hat
« Reply #3 on: Summer, 06 Jun 2023 @823 » Toggle Font Embed

I would have deleted the post if I could figure out how. My bad!
That's great :grin: Instead of deleting the post though, you should reply with the solution you found; it might be helpful to others who have a similar issue in the future!

Logged


everything lost will be recovered, when you drift into the arms of the undiscovered

Artifact Swap: Have a chillpillRed Tulip
wangobangy
Jr. Member ⚓︎
**
View Profile WWW


vampires, please give me a chance
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: wangobangy

Artifacts:
First 1000 Members!Joined 2023!
« Reply #4 on: Summer, 06 Jun 2023 @828 » Toggle Font Embed

Ah. Well, I'm not 100% on what was going on before, but I never had any positioning on the inner element. I always forget about position.  :drat:
I think that solved the disappearing, but it wouldn't resize with the window, so I set the width to auto then I set the max width to whatever I needed it to be, and I eventually got what I wanted. Hopefully there won't be anymore problems after this.

Logged

https://wangobangy.neocities.org/forum%20signature.png
shevek
Hero Member ⚓︎
*****
View Profile WWW


˚₊⁀꒷₊˚︰₊︶꒦꒷₊⊹︰꒷
⛺︎ My Room
iMood: daintyeco

Artifacts:
Great Posts PacmanThanks for being rad!First 1000 Members!Joined 2023!
« Reply #5 on: Summer, 06 Jun 2023 @839 » Toggle Font Embed

Yes please leave it up, this is so good for when others have the same problem but can't put it into words but see it here :smile:

I was also wondering if this could potentially happen if you set a min-width on that element. I think (pls someone else correct me if I am wrong) the disappearance can also happen when the available space becomes smaller than the minimum width of the element, especially when it is surrounded by other elements like above. If it is not allowed to overlap with other elements to keep its min-width, it might go.

Logged

Odo was just an idea. Shevek is the proof.
wangobangy
Jr. Member ⚓︎
**
View Profile WWW


vampires, please give me a chance
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: wangobangy

Artifacts:
First 1000 Members!Joined 2023!
« Reply #6 on: Summer, 06 Jun 2023 @841 » Toggle Font Embed

the disappearance can also happen when the available space becomes smaller than the minimum width of the element

I have not thought about min width before to be honest. That could have also been a problem now that I know about it. That's super helpful. I'll remember this for sure.

Logged

https://wangobangy.neocities.org/forum%20signature.png
Pages: [1] Print Embed 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | Send Feedback | Supporters ♥ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi
@000 Melon
Land
Forum Art Hub Chat Webring Explore Random Recent Tenement Arcade Want to Login or Join ? Web Craft Guide Graphic Catalogue Wiki Help I'm Lost! Link Land Newsletters Image Stream Minecraft: Online
Zap!
Passport Sites tamaNOTchi Asatte Add your site?
Aero Archive Onio Cafe 32 Bit Cafe Status Cafe