Showing extra information in an html5 meter element; nesting elements within the meter?

A trick may be placing a span after the meter tag, shifting it to the left using some arithmetic.

A trick may be placing a span after the meter tag, shifting it to the left using some arithmetic somevalue aritmetic could be something like: var average = somevalue, say 0.45; document. GetElementById('average'). Style'margin-left' = (Math.

Floor((average-1)*document. GetElementById('m'). OffsetWidth))+'px.

1 margin-left is not a valid property name. It has to be marginLeft :) – john_doe Feb 28 at 14:32 @john_doe: yep, you're right. Could've used style'margin-left' also, by the way.

– KooiInc Feb 28 at 14:46 This works! I used jQuery, so it looks a little different, but the idea worked. I've actually just added a data-average="6" attribute to the meter, and then use jQuery to insert a span after each meter with a data-average attribute.

Here's the jQuery: $('meterdata-average'). After(function(){ return ''; }); – chadoh Mar 1 at 12:42.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions