Jump to content

w3.css Blog Images


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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...