“text-decoration” and the “:after” pseudo-element, revisited

后端 未结 11 803
旧巷少年郎
旧巷少年郎 2020-11-27 18:43

I\'m re-asking this question because its answers didn\'t work in my case.

In my stylesheet for printed media I want to append the url after every link using the

11条回答
  •  有刺的猬
    2020-11-27 19:24

    You can autoselect links to pdf-files by:

    a[href$=".pdf"]:after { content: ... }
    

    IE less than 8 can be enabled to work properly by implementing this link in the head of the html-file:

    
    

    It works also very good in al IE versions when you use the after-before-content-thing for dosplaying quotation marks.

提交回复
热议问题