This is a migrated thread and some comments may be shown as answers.

Background images with MOSSRadEditor

1 Answer 24 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Delphi
Top achievements
Rank 1
Delphi asked on 25 Jun 2010, 03:26 AM
Howdy,

I have the following class in my editor CSS file

body

{

 

font-family: Times New Roman !important;

 

 

font-size: 12pt !important;

 

 

background-image: url(policy_bg.jpg) !important;

 

 

background-repeat:repeat-y !important;

 

 

background-position:right !important

 

}



I can't get the background to show! I also tried

RadEditor1.CssFiles.Clear();

RadEditor1.CssFiles.Add(

"edit.css");

 


And that didn't appear to work either.

My background is plain white, help!

1 Answer, 1 is accepted

Sort by
0
Delphi
Top achievements
Rank 1
answered on 25 Jun 2010, 03:23 PM
Figured it out. Using Dev toolbar in IE i saw that the class of the BODY tag had 50%

background-position:right 50% !important 

Which apparently pushed my image too far right. I removed the position element and it works now.
Thanks, 
Tags
Editor
Asked by
Delphi
Top achievements
Rank 1
Answers by
Delphi
Top achievements
Rank 1
Share this question
or