需要增加fontname HtmlEditorExtender的宽度 [英] Need to increase the width of fontname HtmlEditorExtender

查看:72
本文介绍了需要增加fontname HtmlEditorExtender的宽度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用HtmlEditorExtender ajax控件........如果我们选择时间新罗马字体名称没有完全显示....我试图增加该框的宽度,其默认宽度为90px(显示在运行时)现在我想将宽度更改为120px但我无法得到任何解决方案.......请任何人都可以帮助我

I am using HtmlEditorExtender ajax control........If we select Times New Roman Font that name is not showing completely....I tried to increase the width of that box which is having a default width of 90px(showing at run time) now i want to change that width to 120px but i cant get any solution ....... Please can anyone help me

推荐答案

你可以尝试这个。



获取你控件的 id 类名(通过使用chrome dev工具)之后给出下面的css样式。



You can try this one.

Get the id or class name of the your control (by using chrome dev tools) and after that give below css style for that.

<style type="text/css">

 #controlId
        {
          width: 120px !important;
 }

</style>


应该这样做。


This should do it.


('#TextBox1_HtmlEditorExtenderFontName')。width(150);





但是!!!

加载html编辑器扩展器后,必须在页面的页脚中运行它。
('#TextBox1_HtmlEditorExtenderFontName').width(150);


BUT!!!
You must run this in the footer of your page after the html editor extender loads.


这篇关于需要增加fontname HtmlEditorExtender的宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆