Rank: Member Groups: Member
Joined: 8/21/2011 Posts: 13
|
I copied your spell checker demo code into my project and it seems to work fine except that the font size is way too big. I can't seem to change this via the CssText properties (see below).
Can you help?
Thanks,
Jim Seaborg
Here is your sample code:
<asp:TextBox Runat="server" id="TextBox1" Height="200px" Width="400px" TextMode="MultiLine">This sampel uses a dialog to display the spell errors. Please refer to the product documentaton under section "Using Spell Checker Dialog" for more deteils.</asp:TextBox> <eo:SpellChecker id="SpellChecker1" runat="server" DialogID="SpellCheckerDialog1" ControlToCheck="TextBox1" StartButton="Button1"></eo:SpellChecker> <eo:SpellCheckerDialog id="SpellCheckerDialog1" Width="320px" Height="216px" runat="server" ControlSkinID="None" CloseButtonUrl="00070301" BackColor="#ECE9D8" HeaderHtml="Spell Checker"> <FooterStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma"></FooterStyleActive> <HeaderStyleActive CssText="padding-right: 3px; padding-left: 8px; font-weight: bold; font-size: 10pt; background-image: url(00020113); padding-bottom: 3px; color: white; padding-top: 0px; font-family: 'trebuchet ms';height:20px;"></HeaderStyleActive> <ContentStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma"></ContentStyleActive> <BorderImages BottomBorder="00020112" RightBorder="00020111" TopRightCornerBottom="00020106" TopLeftCornerRight="00020102" TopRightCorner="00020104" LeftBorder="00020110" TopLeftCorner="00020101" BottomRightCorner="00020108" TopLeftCornerBottom="00020103" BottomLeftCorner="00020107" TopRightCornerLeft="00020105" TopBorder="00020109"></BorderImages> </eo:SpellCheckerDialog> <p> <asp:Button Runat="server" id="Button1" Text="Spell Check"></asp:Button> </p>
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, Check whether your page is in standard compliant mode: http://www.essentialobjects.com/doc/1/menu/menu_perf_tips.aspxSee if you have the <!DOCTYPE> tag at the begining of the page. Without that tag, font size sets on the dialog won't apply to certain elements inside the dialog. Thanks!
|