Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm attempting to create a print.css stylesheet for my site and I'm running into an interesting problem.

When I print any page on my site, all the links on the page are printing the URL directly next to it and it's causing all kinds of styling issues. At first I thought it might be my browser or printer, but other sites don't have this issue. Is there some setting in the admin section to remove these? I'm using the Boilerplate theme, which may be causing this issue.

share|improve this question
    
Close-voted as off topic. This is a CSS (or a browser) question, not a WordPress question. –  Chip Bennett Feb 21 '12 at 16:03

1 Answer 1

There is probably some code like this in your stylesheet:

@media print
{
    a::after
    {
        content: " (" attr(href) ")";
    }
}

Remove it and the URLs are not printed anymore.

share|improve this answer
    
Most definately a possible cause, good thinking.. +1 .. –  t31os Jul 31 '11 at 13:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.