Web Layout
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignWeb Layout

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 28th, 2005, 11:24 AM
vbmntv vbmntv is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 311 vbmntv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 10 h 9 m 49 sec
Reputation Power: 5
CSS - Preview Print mode ???

I’m using CSS for my site. When I view my webpage (long text) in the Print Preview mode, the last line (text) shows only ½ and the other ½ is in the 2nd page. Does any one know why? Thanks.

P
{FONT-SIZE: 80%;
font-family: Arial, Verdana, MS Sans Serif;
MARGIN: 0em auto 0em;
line-height:normal;
letter-spacing:normal
}

Reply With Quote
  #2  
Old June 29th, 2005, 10:02 AM
Phoenix's Avatar
Phoenix Phoenix is offline
Web-Standards Evangelist
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,522 Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 23 h 48 m 4 sec
Reputation Power: 8
First, a few questions:

a) Why are you using UPPERCASE for your selectors and properties? Take note that CSS is fully case-sensitive.

Code:
P { COLOR: RED; }

Code:
p { color: Red; }


Only one of those works in XHTML.

b) What media settings do you have setup? Unless you specify a stylesheet for printing browsers will ignore it.

Reply With Quote
  #3  
Old June 29th, 2005, 11:54 AM
vbmntv vbmntv is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 311 vbmntv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 10 h 9 m 49 sec
Reputation Power: 5
"Take note that CSS is fully case-sensitive. " REALLY! I've never heard it. However, I'll change it to small letter.
b) What media settings do you have setup??? I'm not sure what you meant?

Reply With Quote
  #4  
Old June 29th, 2005, 12:49 PM
Phoenix's Avatar
Phoenix Phoenix is offline
Web-Standards Evangelist
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,522 Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 23 h 48 m 4 sec
Reputation Power: 8
Do you have anything like this in your pages/CSS files?

Code:
<link rel="stylesheet" type="text/css" href="style.css" media="screen, projection, tv" />
 
 <link rel="stylesheet" type="text/css" href="printstyle.css" media="print" />
 
 @media print {
 
 }
 
 @media screen {
 
 }

Reply With Quote
  #5  
Old June 29th, 2005, 01:24 PM
shamrog12's Avatar
shamrog12 shamrog12 is offline
Newton's Apple Wizard
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 1,661 shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 2 h 39 m 22 sec
Reputation Power: 34
Send a message via AIM to shamrog12
Quote:
Originally Posted by vbmntv
"Take note that CSS is fully case-sensitive. " REALLY! I've never heard it. However, I'll change it to small letter.
b) What media settings do you have setup??? I'm not sure what you meant?


All standards-based scripting is case-sensitive now. There's no capital letters in XHTML tags or attributes now so it's a good habit to just use all lowecase letters from now on.

Just an FYI
__________________
If you found a post of mine helpful, please click on the on my post to add to my reputation.


Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignWeb Layout > CSS - Preview Print mode ???


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT