Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-03-27 15:38:44

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

span class="caps"

I don’t have this set in my styles at all, but it nevertheless exists somewhere and impacts my presentation in an undesirable way. It makes all acronyms display as display: block;, which is fackin’ B.S.

Anyone know what’s going on? It’s browser-irrelevant.

Offline

#2 2018-03-27 22:23:58

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,413
Website

Re: span class="caps"

That class is added by Textile whenever you have a string of 2+ capital letters (e.g. ABC). Should’t make it automatically display: block; though. That would come from something in your stylesheet. The inspector tool in your browser of choice should help figure that out.

Or maybe that style originates in some script?


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#3 2018-03-28 04:24:14

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,193
Website GitHub Mastodon Twitter

Re: span class="caps"

the class was added by Dean and was discussed in textism. Basically, it was about typography where caps (such as acronyms), should be displayed with small-caps. The css can include something like

.caps {font-variant: small-caps;}

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2018-03-28 16:45:26

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: span class="caps"

Thanks. I figured it must be coming from the system somewhere. I never ran into that before.

I’ll double check my rules now that I have the lead. There must be something overlapping.

That’s a good fail-safe, Colak.

Offline

Board footer

Powered by FluxBB