EasyUI Forum
May 02, 2024, 09:28:03 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Layout division title font color  (Read 5978 times)
alastairwalker
Newbie
*
Posts: 14


View Profile Email
« 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

Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 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>
Logged
alastairwalker
Newbie
*
Posts: 14


View Profile Email
« Reply #2 on: November 30, 2015, 01:44:47 AM »

Many thanks! That works fine!

Alastair
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!