Results 1 to 6 of 6
Related
-
to or not to specify font sizes Forum: HTML Forum
Replies: 1 -
Font Size/Font Face Forum: CSS Forum
Replies: 4 -
Font Size/Font Face Forum: HTML Forum
Replies: 2 -
Font sizes in CSS Forum: CSS Forum
Replies: 4 -
Changin primary and secondary font sizes?? Forum: CSS Forum
Replies: 2
-
10-15-2003, 02:48 AM #1
Printing pages with different font-sizes
Hi,
I am trying to make a page that would generate certificate of attendance from list of users. So naturally it uses different font settings as an effect. It works well when the page is of one-page lentgh. problem arise when the certificate would span to more than one page. I first thought it is caused by misplaced tags or some css tags i'm using. However, I've created a simple html file that would expand for more than one pages. When I'm not setting fon't size, it works just fine. But when I change a few of them to bigger fon't sizes and PRINT it, the first line (the text itself)of the next page is cut horizontally.
(see my attached testing code)
Is their a way to tell the printer not to cut the text off?
thanks in advance
-
10-15-2003, 03:14 AM #2
Not sure if it's anything to do with it, but you've got tables inside of paragraph tags. Try removing the <P> and </P> tags and see what happens.
EDIT:
Did some looking around. What you need is to set up a style sheet for print media.
Code:<link rel="stylesheet" type="text/css" href="print.css" media="print" />
Last edited by Android; 10-15-2003 at 03:31 AM.
-
10-15-2003, 03:35 AM #3
i have removed all occurence of <p> tag. it didn't help.
-
10-15-2003, 03:58 AM #4
I didn't think it would make any difference (you never know, though). Just that they are there doing nothing except invalidating the code (I think).
http://webdesign.about.com/cs/css/a/aa042103a.htm a good read on using print media.
-
10-15-2003, 02:22 PM #5
One pitfall to watch when using print-specific styles - make sure you set your 'normal' stylesheet to
Code:media="screen"
check out my css tutorials http://css.somepeople.net for some references on controlling prints with css, specifically http://css.somepeople.net/css2ref/Output/prop_page.htmlIf one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
-
10-16-2003, 07:11 PM #6
Thanks. I believe I've found the culprit. It is really the page-break option. I appreciate the help.