Automatic image wrapping in a web page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pc0019
    New Member
    • Sep 2007
    • 4

    Automatic image wrapping in a web page

    Hi

    Is it possible to make a list of images (and links) wrap, so when viewed in a web page, however large the (IE/Firefox for example) window is, when the images reach the end of the window, they go onto the next line?

    Sorry for the rubbish English in that, I don't really know what I'm talking about.

    Example of the list of images:

    Code:
    <a href="001.html"><img src=thumbs\001.jpg border=0></a> <a href="002.html"><img src=thumbs\002.jpg border=0></a> <a href="003.html"><img src=thumbs\003.jpg border=0></a>    .... etc (loads more of the same)
    I'm doing this so (as you can see) I will have a 'gallery' of thumbnails, linking to pictures, which look correct on the website however viewed, regardless of how many pictures there are.

    Thanks in advance!
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    Doesn't what you show work? You need quotes around the image src paths though. And if this is a list of images then you should make it a last:
    <ul>
    <li><a href=...><img.. ....></li>

    Comment

    • pc0019
      New Member
      • Sep 2007
      • 4

      #3
      Woops, quotes added now. I tried the ul/li, but this isn't what I want (what i want, '.' being an image:

      ....
      ....
      ....

      not as a list, but thanks)

      But anyway, it seems to work fine now as you said it should.

      Originally posted by drhowarddrfine
      Doesn't what you show work?
      I tried removing the quotes you told me to add and it gives the same result, so I don't know what I was doing before... my next question will be how do you make an un-wrapping page of pictures ;-)

      Thanks for the awesomely-fast respone!

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        The list will do what you want but the items need to be floated.

        I don't know what you mean by an unwrapping page.

        Comment

        Working...