Print Style Sheet

How can I create a print style sheet to remove all images and just show text when sending to printer.  I'm looking for a printer friendly link.  I've tried the print media solution and it does remove images but my text does not line up to the left of the page.  The content remains in the same position.  I'm  using a template I purchased.  Not sure if that has something to do with it or not.



contesaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MrRioCommented:
please post a link to your template. The best thing to do would be to set display: none on all the parts of the template that you do not wish to show.
0
contesaAuthor Commented:
www.jdhernandez.com

Click on any of the submenus - the subpages have a much different layout...

I've tried none but the content does not move from its location on the page.  I'd like the content to move to the left and possibly up a little on the page.
0
mpn_1983Commented:
You'll want a link in the <head> of your template to a print stylesheet.  You can do this a couple of ways such as using:

<style type="text/css" media="print">@import "/print.css";</style>

By doing this you can control the print design/layout of all your pages through your print.css.

Therefore to remove images you'd have the following in your print.css file:

img {
display:none;
}

After this you can apply styling to any other elements you need to through you print.css file
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.