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

Clear Styles with "background-image:url(xyz.img);"

1 Answer 61 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Andreas Kleine
Top achievements
Rank 1
Andreas Kleine asked on 01 Apr 2008, 01:10 PM
Hi Telerik,

I have added the following style in the RadEditor.css

"
.red{
color:red;
}

.red_with_pic{
color="red";
background-image:url(b.jpg);
height:88px;width:107px;
text-align:center;
}
"

In edit mode the styles are successfully listed in the drop down menu.
I can mark some text and assign the style ".red_with_pic"
The marked text is now displayed with a picture behind itself.

Problem: if I try to clear the style from this text with the "Clear Style"-Function from drop down menu, nothing happens!
My workaround is to assign the other style ".red" first and clear the "red" style from the marked text afterwards.


some questions:
    - Do you know this bug and when will you fix it?
    - I want to use some Images of the MOSS-lists in some styles. What is the best way to use these Images?
    - Just using the static url "http://server/WikiList/Images/XZZ.jpg" or is there a better way?

kind regards,
Andreas

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 02 Apr 2008, 11:55 AM
Hi Andreas,

Thank you for the provided information, but I was not able to reproduce the problem.

Could you open a support ticket and provide us with more information about your exact scenario, your content, the exact steps to reproduce etc. 


Kind regards,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
WebParts for SharePoint
Asked by
Andreas Kleine
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or