Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-03-10 09:25:33

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

print css help

In my print style sheet I have

p a:after {content: " ("attr(href)") ";font-size: 10px;}
sup a:after {content: "";}
a[href]:after {content:" <URL: "attr(href)">"; background:inherit;}
abbr[title]:after, acronym[title]:after {content: '(' attr(title) ')'}

What I am trying to avoid is to have the url printed when is a sup container. Somehow it does not work. Does anybody know what I’m doing wrong?


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

Offline

#2 2011-03-10 12:11:14

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: print css help

colak wrote:

Does anybody know what I’m doing wrong?

Taking this literally I shouldn’t post ;) From a gut feeling: move the sup line to the bottom of the block.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2011-03-10 13:38:08

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

Re: print css help

hi uli, thanks for the response. followed your suggestion but unfortunately the anchor urls are still visible in sups. it is a minor issue but it bugs me that i cannot figure it out.


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 2011-03-10 13:52:15

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: print css help

Have you tried enhancing with !important? Is it online yet to have a look through the endoscope?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#5 2011-03-10 14:43:32

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

Re: print css help

uli wrote:

Have you tried enhancing with !important?

I did

Is it online yet…

Hi uli it is on line on NeMe. sample page

to have a look through the endoscope?

be gentle with that one!:)

Last edited by colak (2011-03-10 14:46:49)


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

Offline

#6 2011-03-10 14:58:11

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: print css help

I presume it is about the display of the circonflexes in the footnotes (not the numbers in the main section of the article)?

.notes sup {
	display: none;
	}

be gentle with that one!:)

I didn’t look elsewhere ;) I’m a disciple myself.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#7 2011-03-10 15:08:16

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

Re: print css help

That’s not it…

the way to check it is in the body of the text where the anchors appear rather than the notes part


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

Offline

#8 2011-03-10 15:31:40

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: print css help

Yannis, when I print the page, I don’t have URLs printed! Let’s take the second paragraph as a reference:
colleague of his ^1^. I make a note
prints as
colleague of his ^1^. I make a note

[Why does the textile circonflex work here and not above? And why did zem take the textile help page offline (the link “Textile” below the editing text area)]

Can it be a cache problem? Or didn’t I understand the core of the issue, yet?

Last edited by uli (2011-03-10 15:32:14)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#9 2011-03-10 15:39:53

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

Re: print css help

uli wrote:

Can it be a cache problem?

Bingo! that was it. Moving the snippet of code at the bottom, adding !important and clearing the cache. did the job. Thanks sooo much uli


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

Offline

#10 2011-03-10 15:53:58

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: print css help

Cool!
I don’t think I’d have thought of the cache for my own print stylesheet. Glad I learned it this way.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#11 2011-03-10 22:24:12

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: print css help

uli wrote:

And why did zem take the textile help page offline (the link “Textile” below the editing text area)

Oops, hadn’t noticed that, thanks! Let’s see if we can find an alternative.

Offline

Board footer

Powered by FluxBB