From 863641afa60f46d271bf89dea256b2d42fe18de1 Mon Sep 17 00:00:00 2001 From: mjfernez Date: Tue, 23 Jul 2024 01:04:29 -0400 Subject: Fix css tags --- tutorials/www/quick-intro-html-css.html | 88 ++++++++++++++++----------------- 1 file changed, 44 insertions(+), 44 deletions(-) (limited to 'tutorials/www/quick-intro-html-css.html') diff --git a/tutorials/www/quick-intro-html-css.html b/tutorials/www/quick-intro-html-css.html index 05302d8..1ea2fbf 100644 --- a/tutorials/www/quick-intro-html-css.html +++ b/tutorials/www/quick-intro-html-css.html @@ -465,18 +465,18 @@ using a CSS file.

For any HTML tag, you can set an attribute that applies everytime it appears in an HTML document that links to the CSS file. A common formatting I use for paragraphs is:

-
p {
-    margin-top: 1.5%;
-    margin-bottom: 1.5%;
-}
+
p {
+    margin-top: 1.5%;
+    margin-bottom: 1.5%;
+}

And to highlight code, like you've been seeing, I use:

-
code {
-    display: inline-block;
-    font-size: 125%;
-    background-color: #d8d8d8;
-    white-space: pre-wrap;
-    word-wrap: break-all;
-}
+
code {
+    display: inline-block;
+    font-size: 125%;
+    background-color: #d8d8d8;
+    white-space: pre-wrap;
+    word-wrap: break-all;
+}

I get pretty much all the attribute names just by looking them up here. But in order these lines: