Results 1 to 2 of 2
Turning off buffering ($=1) doesn't work on Apache server Forum: CGI Perl ForumReplies: 1
links links and selectbox Forum: HTML ForumReplies: 1
02-28-2005, 06:28 PM #1
Turning a:after off for some links
I've recently begun using the a:after selector for all of the links on our site's printer friendly pages:
content: " <" attr(href) "> ";
And, it works as advertized in Mozilla 1.7.5. However, for some links, I don't want the href to show up and tried the following code (which is defined after the above style):
<a name="name" class="hide-on-print"></a>
There's a <> displayed before 'Some Text'. Without an href in the anchor, I don't want the brackets displayed before the text.
Can anyone help me on this?
05-16-2005, 09:17 AM #2
Re: Turning a:after off for some links
a:after, it means for all the anchors in your page put the text that you set on content property; so the best you can do is set a null content for the hide-on-print class: