Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Styles not applying in crystal report Post Reply Post New Topic
Author Message
Vissu
Newbie
Newbie
Avatar

Joined: 13 Oct 2008
Location: India
Online Status: Offline
Posts: 2
Quote Vissu Replybullet Topic: Styles not applying in crystal report
     Posted: 14 Oct 2008 at 7:29am
Hi,

      Styles not applying in crystal reports while exporting to pdf or excel.

Thanks,
Vissu
Thanks in Advance,
Vissu
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 14 Oct 2008 at 2:33pm
Styles from a CSS for the web viewer or in the report definition itself?  The only style that will appear in an export are the ones that are in the report definition itself.  The CSS only applies to the HTML viewer.
 
-Dell
IP IP Logged
Vissu
Newbie
Newbie
Avatar

Joined: 13 Oct 2008
Location: India
Online Status: Offline
Posts: 2
Quote Vissu Replybullet Posted: 14 Oct 2008 at 9:33pm
My style sheet is as follows,

.body
{
    font-family: Verdana;
    font-style: italic;
    font-weight: bold;
    color: Black;
    font-size:14px;
    background-color:white;
}

.body1
{
    font-family: Verdana;
    font-style: Normal;
    font-weight: Normal;
    color: Black;
    font-size:12px;
}

.body2
{
    font-family: Verdana;
    font-style: normal;
    font-weight: bold;
    color: Red;
    font-size: 12px;
    background-color: silver;
    text-decoration: underline;
}

.body3
{
    font-family: Verdana;
    font-style: Normal;
    font-weight: Normal;
    color: Black;
    font-size:10px;
}

.body4
{
    font-family: Verdana;
    font-style: Normal;
    font-weight: Bold;
    color: Black;
    font-size:10px;
   
}
Thanks in Advance,
Vissu
IP IP Logged
GowthamSen
Groupie
Groupie


Joined: 03 Jun 2009
Location: India
Online Status: Offline
Posts: 65
Quote GowthamSen Replybullet Posted: 10 Nov 2009 at 9:47am
Hi Vissu,
 
How did you apply CSS file to a crystal report?
Could you please help me this? I am trying to find infor for usage of CSS in reports.
 
Thanks in advance.
 
Regards,
Gowtham
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum