Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Cell Style Question, posted by Terry Bayne on Tue Nov 2 15:56:33 2010 
    icon2.gif   Re: Cell Style Question, posted by Stefan Ritt on Tue Nov 16 10:29:14 2010 
Message ID: 66939     Entry time: Tue Nov 16 10:29:14 2010     In reply to: 66922
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Windows  ELOG Version: 2.8.0-2331 
Subject: Re: Cell Style Question 

Terry Bayne wrote:

Is it possible to include more than one style attribute in a "Cell Style" directive?

For example, if I want to change the background color and text color for a given cell:

Cell Style Status Fixed  = background-color:green;color:white

If so, what is the proper way to encode it?

Thanks,

Terry

Your syntax is correct. If you try a big font for example

     Cell Style Status Fixed  = background-color:green;font-size:40px

it will work. The problem here is that the text decoration is defined differently since it's a link. The CSS defines these style via

/* standard link colors and decorations */
a:link { color:#0000FF; text-decoration:none }
a:visited { color:#800080; text-decoration:none }
a:hover { color:#0000FF; text-decoration:underline }
a:active { color:#0000FF; text-decoration:underline }
a:focus { color:#0000FF; text-decoration:underline }
but I don't know how to change these style inline without defining a new class.

ELOG V3.1.5-fe60aaf