michaellunsford Posted May 2, 2007 Share Posted May 2, 2007 I have, oh, I don't know, 100 little photos? I'd like to make the photos sort of wrap around a big DIV that's approximately in the middle of the page. The DIV is pretty high (so even a 30" display would likely have to scroll down). The magic part is making it automatically wrap images depending on browser window width. So, a really wide window might have two photos on each side of the DIV, slightly narrower might have one on one side and two on the other, you get the idea. Am I inside the realm of possibility? Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted May 2, 2007 Share Posted May 2, 2007 yep float all the images within the div. [code[ <div id="imgcont"> <img> <img> ... ... <img> </div> div#imgcont img { float: left; clear: none; margin: 0; } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.