microstrategy - Referencing a Changing CSS ID -


i should preface saying i'm complete beginner in world of editing css, apologize if simple. i've been editing reports i've built in microstrategy 9.4, upgraded 10.1. before upgrade, able @ lines of html, such as

<div ty="dsec" id="k1" scriptclass="mstrdocsectionimpl" name="k1" class="mstrdocsection"> 

and make minor edits. example like

<style>     #k1{         height:130px;     } </style> 

to make simple height change section. paste style change html container, effect report @ run time. believe k1 refers id. however, after upgrade, line has been changed to

<div id="*lk3*kk1*x1*t1454966440926" k="k1" class="mstrmojo-docsection" style=""> 

where id="..." changes each time run it. since changes, not know of reliable way edit section. k="k1" not change, i'm not sure how reference this. insight can provide appreciated.

try using attribute selector:

[k="k1"] {   height: 150px; } 

demo jsfiddle

although might bit more work looks new id (id="") might partially static. is, asterisks appear separators of kind. if so, optionally select on portion of id string doesn't change. in example below i'm assuming data between second , third asterisk in *lk3*kk1*x1*t1454966440926 doesn't change. if select on portion of string.

[id*="kk1"] {   font-size: 5em; } 

demo jsfiddle


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -