The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How To Enlarge Image In New Window

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #28220

    I just did a quick search for my question and couldn’t find anything directly on point.

    I’m still very new to HTML and was wondering if someone could tell me how I could add a picture to my website and set the code so that if I click on it, it enlarges the picture in a new window.

    I’m going to be adding around 600+ pics to my website so I was also wondering if there’s a way to write the code once and have it apply to all the pics I add.

    Thanks in advance,
    – Danny B.


    A new window will make people pretty upset.

    Most people use "lightbox" now. There are a bajillion different versions of it now, each with their own pros and cons.

    If you want things to be automated, you might want to look into using a CMS.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.