This topic is locked

Background Colours

7/9/2008 9:56:12 AM
PHPRunner General questions
S
swanside author

Hello.
I have set the theme of my project to default and Rome.
Now I have a custom View for invoices, and when I print them, they come out with a tint of colour. I have some areas shaded so I need to have the option enabled to print background colours in IE, On my page in the visual editor it has

<BODY bgColor=white> so how come it is printing the backgroung colour?
Thanks

Paul.

J
Jane 7/10/2008

Paul,
change following code for print page on the Visual Editor tab in HTML mode:

<BODY style="BACKGROUND-COLOR: white">

S
swanside author 7/18/2008

Paul,

change following code for print page on the Visual Editor tab in HTML mode:


Thanks Jane, but it is still the peach colour.

This is the code from the visual editor page

<BODY style="BACKGROUND-COLOR: white" bgColor=white><script type="text/javascript" src="include/jquery.js"></script>{include_if_exists file="include/header.php"}&nbsp;{doevent name="ViewOnLoad"}&nbsp;<!--startPDFcut-->

<H1>Simple Invoice, View record [ Invoice

No: {$show_key1}] </H1>{if !$pdf}


I am using the default layour and Rome.
Tha nks

Paul

J
Jane 7/18/2008

Paul,
try to use this one:

<BODY style="BACKGROUND: white;" bgColor=white>

S
swanside author 7/18/2008

Paul,

try to use this one:


OK Thanks, WIll try this afternoon
Paul.

501314 8/14/2008

I want background color on all of my pages how do I do that.
Also I want my table cells to be fixed but I've tried setting them in visual editor cell propeties and they still shrink.
Patti

J
Jane 8/15/2008

Patti,
edit source files directly in the C:/Program Files/PHPRunner4.2/source/layouts/<selected layout>/directory.

Also you can change cell width in the same files.

501315 8/18/2008

Patti,

edit source files directly in the C:/Program Files/PHPRunner4.2/source/layouts/<selected layout>/directory.

Also you can change cell width in the same files.


I have C:/Program Files/PHPRunner4.2/source/ but no layouts

J
Jane 8/19/2008

Sorry, all layouts are in the C:/Program Files/PHPRunner4.2/templates/layouts/ directory.

501316 8/19/2008

so I found the layouts but where do I put my .png background color file? and the width of the cells on the table on my view page.

J
Jane 8/20/2008

Just open view.htm file in any text editor and edit pure HTML as you want.

If it doesn't help send you view.htm file to support@xlinesoft.com and I'll try to help.