Midnight Pub

texto_white HTML4 theme for oldschool projects

~turboblack

This template is special in that it does not have any graphics, it is made exclusively of text symbols.

The template works great on old browsers from the late 90s, such as IE5

Great for an old school project

easy to layout for scripts

This is what this template looks like

https://raw.githubusercontent.com/turboblack/texto_white_HamsterCMS_HTML4_theme/main/texto_white.png

Download

https://github.com/turboblack/texto_white_HamsterCMS_HTML4_theme

To use a template with HamsterCMS: create an texto_white folder in the templates folder, copy index.html there, open the admin panel on the hosting, select the page, and specify this template in the options.

to change footer - edit footer.txt in the includes folder

to change links - edit links.txt in the includes folder


zampano

I like the design a lot!

A couple questions, though. Both this post and the readme mention an includes folder, but there isn’t one in the GitHub repo.

Second: looking at the index.html file on the repo, this could *really* benefit from more CSS rules. There’s frankly a lot of white space characters, redundant inline style, etc. that could be done in a much simpler and cleaner way.

I’d be glad to help in any way I can.

reply

turboblack

hi, I was thinking about this, there are thoughts on how to remove spaces, but to do this you need to make a wall on the right side, and it will be displayed differently in different browsers. I wanted to make it compatible with IE5.

As for the files that are mentioned, these are files from the folder of the CMS, a link to which is in the repository.

if you have time and ideas, I'd love to see them

reply

zampano

Removing spaces could be done by CSS with margins, and it’s easy enough to set everything to relative distances based on the size of the browser window.

Admittedly I haven’t the foggiest idea what IE5’s CSS support looks like. I’m sure it’d handle basic things (e.g. margin or padding), but it could potentially be harder depending on just what it can and can’t handle.

Do you have a running example of this template? That’d be the best way for me to see if I can “imitate” it by other means.

reply

turboblack

this is the working template. everything in one file. you just download it and run it. this is all.

no frameworks, no additional files

It’s very strange that you didn’t notice the information about CMS - it’s literally everywhere there.

IE5 is not so weak, it has support for CSS but does not have such things as white-space: pre-wrap;

if you looked at my account you would have seen that there are a lot of templates made in HTML4, even in HTML3.2

but as I understand it, you limited yourself to just the image?

reply

zampano

Ah ok. I grabbed the file, and will toy with it a bit to see if there’s a way to avoid the   everywhere :)

I saw the reference to your CMS in the readme, but for whatever reason didn’t connect the dots between it and the installation instructions. My bad.

reply

turboblack

I managed to shorten the script by 3 times, it now weighs 7kb, but there is no backward compatibility.

reply

zampano

That’s where it starts to get difficult. Using modern standards, you could shorten it even more, but I understand that’s not what you’re looking to do.

Do you by chance have a reference for what IE5 does and doesn’t support?

reply

turboblack

IE5 supports HTML 4.01 CSS1

some of CSS2 but very few

reply