How to add 'style="width:100px"' in Global Custom Text field in a view?
Here is a fun and a little naughty solution to this:

1.) Instead of style, set the token as value="[token]" - make sure your token is only a number, no alphabetic characters like px etc.

--- Value is set and DIV is spat out ---

&lt;div class="my-div" value="100"&gt;&lt;/div&gt;


2.) Use jQuery to get the value of value="" - define it and use it when the page loads:

$(document).ready(function(){ 
var div_width = $('.my-div').val();
$('.my-div').width(div_width);
});


The width will now be appended to the div via inline-style using jQuery. Not optimal, not recommended but it should work.

More on adding custom jQuery to your Drupal installation: https://www.drupal.org/node/171213