From 420ceb49b53a8fa9d8ba8443e42e50cd7bd7cea9 Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Sun, 12 Jul 2026 11:08:50 +0200 Subject: update --- articles/2025/Html-center-element.html | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100755 articles/2025/Html-center-element.html (limited to 'articles/2025/Html-center-element.html') diff --git a/articles/2025/Html-center-element.html b/articles/2025/Html-center-element.html new file mode 100755 index 0000000..50cdf83 --- /dev/null +++ b/articles/2025/Html-center-element.html @@ -0,0 +1,42 @@ + + + + + + + Html center element + + +
+

Bloggings

+ Back + +
+ +
+
+

Html center element

+

2025-04-10

+

Making things simpler still

+

The center element in html is depreciated, and validation of the page shows warnings. +Instead the use of the css style text-align:center is precognised.

+

But this is ignored in terminal text browsers, and I prefer some sort of consistency, so I've removed center elements and text-align css. +The page itself is centered setting margins. Chawan gives the best rendering on the terminal, here I'm using Ghostty.

+

Librefox

+

image of blog in Librefox

+

Chawan (terminal)

+

image of blog in Chawan

+

W3M (terminal)

+

image of blog in W3M

+

Links (terminal)

+

image of blog in Links

+
+
+ + + -- cgit v1.3.1