Electronza
  • Homepage
  • Privacy
    • Privacy Policy
  • Contact
Electronza
  • Homepage
  • Privacy
    • Privacy Policy
  • Contact
Electronza
You are at:Home»Blogger / Blogspot»Prettifying preformatted text

Prettifying preformatted text

0
By Electronza on January 14, 2023 Blogger / Blogspot

If you have many blog posts that contain the preformatted text you can add the following code in Custom CSS. You get the same aspect as the code below.

{
  border-style: dotted; 
  border-width: 2px; 
  border-color: #aaaaaa;
  background-color: #f2f2f2;
  padding: 10px;
  font-family: 'Roboto Mono', monospace;
  font-size: 15px;
  word-break: break-word;
  white-space: pre-wrap;
}
Photo by Teng Yuhong on Unsplash
Blogger CSS code
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

A pretty text box for Blogger posts

Cleaning unused images from blogs hosted on Blogger

A gradient divider with CSS

Leave A Reply Cancel Reply

Latest posts
January 15, 2023

A pretty text box for Blogger posts

January 15, 2023

New blog section: beginners’ corner

January 15, 2023

Cleaning unused images from blogs hosted on Blogger

Categories
  • Beginners' corner
  • Electronics projects
    • ESP8266
    • Arduino projects
    • IoT
    • 8-bit PIC projects
    • Raspberry PI
    • PIC32 projects
    • Robots
  • Arduino libraries
  • Reviews
    • Tools & equipment
    • Development boards
    • IoT
    • Industrial Arduino
  • Blogger / Blogspot
  • Tutorials
  • Casual stuff
Popular posts
Arduino Uno 4-20mA communication using 4-20mA R click and 4-20mA T click boards from MikroElektronika: MIKROE-1296, MIKROE-1387, Uno Click Shield
August 17, 2016

4-20mA current loop Arduino tutorial Part I: hardware

ESP8266 Thing Dev from Sparkfun
May 15, 2019

ESP8266 – running on battery power

ECG click on Arduino Uno
December 5, 2016

ECG click: Arduino IDE code examples

Working DMX project
July 2, 2015

Arduino DMX master using RS485 click board

Arduino: DMX master and slave
November 2, 2015

Arduino: DMX Master and Slave

Copyright © 2023 Teodor Costachioiu

Type above and press Enter to search. Press Esc to cancel.