My code examples are either inline using the <CODE> tag or longer code text is wrapped in <PRE> tags.
Examples:
Some inline code and
some longer text
How to add CSS customization
In the blogger main menu choose
Template
Customize
Advanced
In the list of advanced customizations scroll down to
Add CSS
and in the text field enter
code {color:#8b0080; background:#ffffff; }
pre {color:#8b0080; background:#ffffff; border:solid 1px black; }
which shows customizations for CODE and PRE:
Additionally PRE gets assigned a small black border line.
I also have another customization for H2 headers:
h2 { text-transform: capitalize}
which capitalizes text so
This is a nice text
is shown as
No comments:
Post a Comment