如何在标题之前在TitlePane中嵌入图标 [英] How to embed an icon in TitlePane before the title

查看:74
本文介绍了如何在标题之前在TitlePane中嵌入图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在标题前面的

块(或TitlePane)中嵌入一个图标(这里:title =Location)?

 <   div     id   =  locationPane    dojotype   =  dijit.TitlePane      title   = 位置   打开  =  true     >  



谢谢

解决方案

请参阅: http://www.w3schools.com/tags/tag_img.asp [ ^ ]。

要嵌入,或者更确切地说,将HTML元素组合在一起并确保正确布局,请学习一些CSS:http://en.wikipedia.org/wiki/Cascading_Style_Sheets [ ^ ] :-)。



-SA

How to embed an icon in the

block (or TitlePane) before the title (here: title="Location")?

<div id="locationPane" dojotype="dijit.TitlePane"  title="Location" open="true"  >


Thanks

解决方案

Please see: http://www.w3schools.com/tags/tag_img.asp[^].
To "embed", or, rather, to group HTML elements together and ensure proper layout, learn some CSS: http://en.wikipedia.org/wiki/Cascading_Style_Sheets[^] :-).

—SA


这篇关于如何在标题之前在TitlePane中嵌入图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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