Twitter Email
silvercircle No addendum
A Jekyll test site with no particular purpose.

Topic: Web development - overview

2 articles in this section. Page 1 of 1

Strange unwanted padding around images and how to fix

Last modified: , 484 Words
Monday, 04. September 2017 — 12:19 | by AlexVie

Sometimes, images enclosed by divs or other block level elements show apparently strange and unwanted 2-3 pixels of padding on the bottom edge even though the containing element has no padding set at all.

YouTube embedding with correct aspect and any width

Last modified: , 661 Words
Thursday, 31. August 2017 — 23:56 | by alex

This is a HowTo and deals with the problem of embedding YouTube videos at any desired size. The size of the video should be determined by the surrounding container. No fixed width and height values are needed.