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

Default Font-Size in Tables on Wiki-Pages

2 Answers 91 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
IT Betrieb
Top achievements
Rank 1
IT Betrieb asked on 19 Dec 2008, 02:40 PM
Hi,

I set the default font-size for the edit mode and for the presentation mode (by adding "font-size: 10pt !important;" to .ms-wikicontent) This works fine for normal text, but does not work for text in table cells. Is there a possibility to apply the style to table cells, too?

Why does the radeditor not set span styles for text which has the default style? This would prevent many problems as the default style in edit mode does seem to have anything to do with the default style in presentation mode, at least as far as wikis are concerned.

Regards,
Markus

2 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 22 Dec 2008, 02:03 PM
Hello IT Markus,

The reason for this behavior is that in Quirks mode the default font type and size do not apply on the TABLE element. In order to fix this you need to set the font via CSS style.
For example:
TABLE 
    font-family: Tahoma; 
    font-size: 10px; 

You can find information on how to defining custom CSS in the RadEditor for MOSS in our online help.
http://www.telerik.com/help/aspnet-ajax/defining-custom-css-styles.html.

I hope this helps.


Sincerely yours,
Stanimir
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
IT Betrieb
Top achievements
Rank 1
answered on 06 Jan 2009, 10:07 AM

.ms-wikicontent table
{
    font-size: 10pt!important;    
}

did it, thanks.
Tags
WebParts for SharePoint
Asked by
IT Betrieb
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
IT Betrieb
Top achievements
Rank 1
Share this question
or