Monster RA Posted December 30, 2020 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. Link to comment Share on other sites More sharing options...
niche Posted December 30, 2020 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now