hello. i have a div and a list of images. these images are cloned into the div by clicking on a button using .append().

the issue is that the elements gets cloned outside the div when it reaches the bottom of the div. and i dont want to have to use scroll but instead maybe when theres no room in the div for more images a message pops out to say no more space or somethin of the sort. is that possible to do that : check if a div is full ?

Recommended Answers

All 3 Replies

add overflow: auto;

overlfow: auto would make it scroll. i dont want scroll if possible

Not specify the (container) div height.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.