On Sat, Jan 05, 2008 at 11:40:51AM -0700, Alan Gresley wrote:
> I have reworked your code and have somewhat similar rendering across
> browser-land. You may want to play around with it. Gecko 1.8 proved
> to be a problem since it does not support display:inline-block. The
> reworking has to examples, the first which Gecko 1.8 supports. The
> later example works in Gecko 1.9 (Firefox 3). The first example uses
> a margin-right:5.45em on the span.bar to simulate the remaining
> percentage of 78%.
> 
> <http://css-class.com/test/demos/inline-graph.htm>

Hi Alan,

Thanks for looking at this.

I tried but it doesn't seem like the percent filled in the bar graph changes.

This markup is generated dynamically so want to be able to set a
percentage and display the graph filled in by that percentage.

    <div class="graph">
        <div class="bar" style="width: 22%;">
            <span>22%<span>
        </div>
    </div>

-- 
Bill Moseley
[EMAIL PROTECTED]

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to