Styling HTML to PDF with iText 2.1.7

There are various solutions for producing PDFs from a HTML file, some with excellent results (e.g. ones based on the chrome renderer). Unfortunately, they usually mean adding more dependencies to an existing system. To keep things in check, we’ve chosen to use iText to generate PDFs. Following the previous post, we need to enhance the […]

Real Sticky Footer with Material Angular

I needed to set up a sticky footer as part of my Angular and Material Design experiment. You would not believe how many resource I could find (some of them listed below)! Unfortunately, most of them had a problem; blank page looked fine (header and footer in the right places), but the page populated through […]

Multiple Navigation Bars in Header with Flexbox

I’ve got a requirement to build a site header with three components: Brand (company logo…) – left Menu – center Shortcuts (settings, search) – right The result should be looking like this: Now, with Bootstrap is really easy to get the brand (and the menu) justified to the left and the shortcuts justified to the […]

Python classes to generate CSS

A while ago I got fed up with CSS and its cumbersomeness. As my poison of choice is python, I was thinking it would be quite useful to have a bunch of classes capable of generating CSS automatically in python. One could have a base class, a set of properties, a name-value dictionary and a […]

Scroll to top