1

Having a scrolling div that contains images with remote source.

when I scroll down or up each time images take time to load from its source how can I prevent that ?

Here is my div styling which contains list of images

.scrollingdiv {
height: 270px;
background-color: white;
border-bottom: 1px solid rgb(4, 180, 220);
overflow-x: hidden;
overflow-y: scroll;
}

and here is the html markup

<div class="scrollingdiv">
 <div class="seconddiv" style="height:350px; overflow:hidden;">
<ul>
<li> <img src="remotesource1"> </li>
<li> <img src="remotesource2"> </li>
<li> <img src="remotesource3"> </li>
</ul>
</div>
</div>

I hope to find a solution for that.

Remon Amin
  • 1,506
  • 2
  • 19
  • 44

1 Answers1

0

The problem is in image float css removing float solved the problem

Remon Amin
  • 1,506
  • 2
  • 19
  • 44