Skip to main content

Things I Do Not Get

Amongst many things, and in no particular order:

A Web-standard-compliant box model.
Why the default size of the box is determined by it's contents, and why the padding should be added to the overall dimensions. The Internet Explorer's model makes more sense (blasphemy). It does.

Another CSS thing which puzzles me: why I can float things right and left, but not to the center? Right and left here are in fact top-right and top-left, but I sooo could use bottom-right and bottom-left positions as well...

And why decided that vertical margins should collapse? Not a very important one, but still... really, why?

Popular posts from this blog

WordPress: How to add custom fonts to a twenty seventeen child theme.

Quick help to those who have tried to find some help and failed (as I have so I have to write the code myself). Assuming that you have your virgin child theme configured and activated: here is a function which goes into the functions.php file (of your configured and activated child theme): function childtheme_twentyseventeen_fonts_url() { $replace_original_font = true; // unless you really like Libre Franklin if ($replace_original_font !== true) { $hyph = '-custom-'; } else { $hyph = '-'; }; $font_families = array( //add your Google fonts and weights (400 and 700 are defaults for normal and bold) here: 'Oswald:200,400,700', 'Lato:200,400,700', ); $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), ); $fonts_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' ); wp_enqueue_style( 'twentyseventeen' ....

How to Make a Website Everyone Has

More Things To Be Mad About

There is no US Embassy in Minsk, Belarus. As a result, people who need to go through an interview for a green card, like my mother, need to go to the nearest city which has one. In good old communist times it would be Moscow, the capital of the whole USSR. The trip there would entail overnight train Minsk-Moscow, spending a day in a city, and overnight train back. No visa required, naturally. Today, despite the fact that old Soviet Union fell apart and old Soviet Republics are separate states, the trip to Moscow would go pretty much the same way. But the wizards at National Visa Center came up with a different plan. Everything my mom needs is done in Warsaw, Poland. Why? NO IDEA. May be it's closer. So my mother had to pay for Polish visa, go through the medical exam they require, wait for ten days to get the visa, go to Warsaw, and all this just to find out that the medical form for her green card is not in a correct format (which was never specified, by the way), and—this is my ...