Forums

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

Home Forums CSS Scaling div to image automaticly.

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #23529
    red
    Member

    So I’ve created a small image gallery using jquery, it works splendid but I’d like the div in which the image opens up to scale accordingly without having to set up custom width to each div. The height works automatically and is correct with all padding and margins, but.. Just check it out and you get what I mean:

    http://koti.tamk.fi/~c7rnyber/homework/ … leria.html
    http://koti.tamk.fi/~c7rnyber/homework/ … lleria.css

    I’ve tried googling, but might be that I can’t come up with the correct searchword. :l

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