Jump to content

w3.css Blog Images


Monster RA
 Share

Recommended Posts

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

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 by niche
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...