Andre's Blog

20160224 How To Give Code-Blocks A Style in HTML


Today I have spend some time on figuring out how to get my code examples in boxes. Giving the code-tags a style changes the output per line, but not per block.

The solution was to give the pre-tag a style :

pre {   
    padding: 15px;


        the code example

@20160221 "Wartbar, die Bar wo man nur wartet aber nie etwas bekommt!"

This week I mentioned to a colleague, that I now have a blog on my domain "". She laughed and said "Wart-Bar, the bar where you only wait but never get anything.". It's a joke which only works in German, "warten" means to wait...

Select where to go ...

The Blog
My Technical Blogs
Blogs Of Friends