who wants to talk about css print styles?

This is a discussion on "who wants to talk about css print styles?" within the Web Page Design section. This forum, and the thread "who wants to talk about css print styles? are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 13th, 2006, 19:05
Up'n'Coming Member
Join Date: Jul 2006
Location: Dallasish Texas
Age: 41
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to PixelLuv Send a message via Yahoo to PixelLuv
who wants to talk about css print styles?

i can make it work for the most part. i have one protype working. i know what work around to using high rez images i'd like to use, but i am having an issue controling the size of the images.

my canvas size is 8 x 10.5

my dpi is 300 that gives me 2550 x 3300px
and at 72 dpi i get 612 x 792px

i can declare the size in inches or pixels and i get totally the wrong size image. if the things is 8 x 10.5. i have always had images/prints print to the canvas size and quality was determined by bit depth. what am i missing?
~Pxl
Reply With Quote

  #2 (permalink)  
Old Jul 13th, 2006, 21:49
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: who wants to talk about css print styles?

If I understand you right, you have an image created, by the sounds of it, in Photoshop, at a certain resolution that when you try to print it from a web page doesn't print to the size you would expect.

When you send an image of say 5in wide on screen at 72dpi to the printer, all the printer knows is that you have sent it a .jpg file for example that is 360 pixels or to it 360 dots wide. If the printers print resolution is set to 200dpi, a typical default, it will print an image 1.8in wide.

If you want people to be able to print a high-res picture directly, you are going to have to provide a link to that version as well as the on screen web page version.

There is of course another problem. You have no control over the settings on the end users printer.
Reply With Quote
  #3 (permalink)  
Old Jul 13th, 2006, 21:58
Up'n'Coming Member
Join Date: Jul 2006
Location: Dallasish Texas
Age: 41
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to PixelLuv Send a message via Yahoo to PixelLuv
Re: who wants to talk about css print styles?

you got it. it's the printer resolution that is screwing me. still matching the printer resolution and the css doesnt seem to help. i can futz with it and get it to line up fine, but id like it to make sense.

the only saving grace in this case is tha,t this is a print off on a kiosk i'm designing, so i do have control.

good stuff geoff. thanks for the input.

~Pxl

Last edited by PixelLuv; Jul 13th, 2006 at 22:04.
Reply With Quote
  #4 (permalink)  
Old Jul 14th, 2006, 10:55
minute44's Avatar
Moderator
Join Date: Apr 2006
Location: Nottingham UK
Age: 24
Posts: 1,347
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to minute44
Re: who wants to talk about css print styles?

Geoff's right on this, all you can do is your best but even that can be dashed if the end user's printer isn't set up correctly.
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
Reply With Quote
  #5 (permalink)  
Old Jul 14th, 2006, 14:51
Up'n'Coming Member
Join Date: Jul 2006
Location: Dallasish Texas
Age: 41
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to PixelLuv Send a message via Yahoo to PixelLuv
Re: who wants to talk about css print styles?

ok i hear what your saying. but how do i align the image with the printers resolution?

if the printer is going to print the image at the resolution set by the print driver then i should be able to give my image the right height and width to size it properly. this assuming you know the printer you are using and i do in this case.

for instance. if the canvas for the image is 8 x 10.5 so if the printer is set to 300 dpi then i would think that i could set my img height to 3150px and width to 2400px and the aspect ratio would match up and id get what i want. what i get is a huge poster size image. ok, well try screen resolution. so i use 576 x 756 and i get a tiny image.

i can sit and sort it out by using print preview and playing with the numbers till it fits. i would just like it to make sense to me. The magic number for those who care...

width: 1135px;
height: 1370px;

this on a printer set to 600dpi works a charm.


~Pxl

Last edited by PixelLuv; Jul 14th, 2006 at 16:43.
Reply With Quote
Reply

Tags
wants, talk, css, print, styles

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS conflicting styles ttaxi Web Page Design 2 Mar 28th, 2008 16:01
Lifted Talk habitatxskate Free Web Site Critique 2 Feb 11th, 2007 13:51
talk-mania.com hotcomputers Free Web Site Critique 4 Oct 19th, 2006 09:32
styles on tables cyberseed Web Page Design 12 May 23rd, 2006 16:34
Styles in classes? timmytots Web Page Design 4 Dec 2nd, 2005 01:20


All times are GMT. The time now is 03:42.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43