Closed (fixed)
Project:
Content Complete
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Apr 2009 at 13:59 UTC
Updated:
16 Apr 2009 at 22:22 UTC
This should be sent to the header:
<div class="content">
<style type="text/css">
#cck-complete-percent-bar-wrapper-setting {width: 100%; border: 1px solid #000; padding: 1px;}
#cck-complete-percent-bar-setting { width: 75%; height: 10px; background-color: #777777;}
</style>
...
Couldn't you use inline style="" for this?
Comments
Comment #1
pvhee commentedIf inline style="" is used, wouldn't this make it impossible to override the style in an external CSS?
As far as I know, I cannot use an external .css file either because some of the names of the CSS classes depend on the CCK type.
Comment #2
pvhee commentedI've refactored the styling to a separate content_complete.css file, keeping the width of the percent bar as the only style element in the .module file, with an inline style tag. Code committed to dev cvs, thanks!