EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: alastairwalker on November 28, 2015, 02:00:59 AM



Title: Layout division title font color
Post by: alastairwalker on November 28, 2015, 02:00:59 AM
I am trying to work out how to change the font color of the title in a panel.

For example, here is a standard setting for 'east':

<div id = "east" data-options="region:'east',split:true" title="East" style="width:50%;">

If for example I want to change the font color of the title to 'red', I would expect the following to work:

<div id = "east" data-options="region:'east',split:true" title="East" style="width:50%; color:red">

When I try this out, there is no font color change of the title.

Am I missing something?

Any advice on this will be really appreciated!

Alastair



Title: Re: Layout division title font color
Post by: stworthy on November 28, 2015, 03:12:59 AM
Please try this:
Code:
<div id = "east" data-options="region:'east',split:true" title="<span style='color:red'>East</span>" style="width:50%;">
</div>


Title: Re: Layout division title font color
Post by: alastairwalker on November 30, 2015, 01:44:47 AM
Many thanks! That works fine!

Alastair