silvercircle/github/io
A Jekyll test site with no particular purpose.

Topic: Web development - overview

This sub section contains 2 articles in 1 page(s). This is page 1.


Strange unwanted padding around images and how to fix

Last modified:
346 Words
Written by AlexVie | Mon, 04. September 2017, 12:19
Reading time: approx. 1 minute(s)

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:
512 Words
Written by alex | Thu, 31. August 2017, 23:56
Reading time: approx. 1 minute(s)

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.

css