ToolBar issues - Ext JS

本文探讨了一个跨浏览器编辑器在Internet Explorer和Firefox上的显示及功能问题,包括图标显示不一致、按钮点击功能失效以及工具栏宽度差异等问题,并提出了相应的解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Have a look at this
http://www.rodrigodiniz.qsh.eu/Editor.htm
Issues:
1)The icons look great on firefox , and not so great in IE
2)When I click on a button that has a menu IE loses the text selection and
the command doesn't work.
3)The toolbar width is correct in IE and not in firefox
__________________
ExtJsExtender Controls
http://www.extendersamples.qsh.eu
My Blog
http://rodiniz.blogspot.com
Reply With Quote
  #2  
Old 03-08-2007, 07:01 AM
Default

1) IE6 doesn't support transparent PNGs (that's what you are using for icons?). You could load them using alpha image filter. Your CSS is also not up to date. It looks like you are running the latest code with old CSS. Updating your css will fix the gap in the button issue.

2) This is a known issue when doing text editors in IE. You will need to store the current selection. Take a look on the web, there should be lots of examples of this.

3) Your editor has a CSS width set to 100px. On IE, it is ignoring the 100px width you have set, on FF it is forcing the toolbar (which is auto width) to stay within the 100px width. On FF the text element is actually overflowing the editor element.
Reply With Quote
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值