Tuesday, 14 May 2013

Creating a gallery table

For one of the pages on my website, I had to create a gallery to display a number of images. I had a look on the internet for a template to do this, but I discovered that they used a lot of Javascript, and I don't know how to use this language.

Instead of using one of these I decided to make a gallery page out of a HTML table. I would then be able to insert the images and display them in a suitable way.


This is the code I create for this:


This is what the design looked like: 


I made sure that all the images where the same size by specifying in the code what size i wanted them, this made sure that they looked good, and no images where too big or small.

No comments:

Post a Comment