Monster RA 0 Posted December 30, 2020 Report Share Posted December 30, 2020 Hi there I'm new to web development and I decided to start with w3.css as they had a template which has been very useful. I want to create a Portfolio Gallery which exhibits articles and their related images, however the dimensions of the images are causing problems i.e. the gallery doesn't not look like tiles as it were. Do I need to make all the images uniform in size somehow before inserting them? Thank you in advance. Quote Link to post Share on other sites
niche 142 Posted December 30, 2020 Report Share Posted December 30, 2020 (edited) No, but that's just a guess. Without your code, it will be hard for any one to help you. You might get the your desired result by displaying them in a <img> tag set at a percent height/width, inside a <div> set at a percent height/width. https://www.w3schools.com/cssref/pr_dim_width.asp Please post the relevant part of your code or give us a link to your site! Edited December 30, 2020 by niche Quote Link to post Share on other sites
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.