Hello All,

I've developed a simple online bar graph for a client. The page
queries a database, tallies the total number of orders coming in from
each US state and then draws a series of bar graphs to represent the
number of orders. The report works fine expect when the user tries to
print it. The bars are created by variably setting the height of an
unordered list's list item. The list items have a red background color
which allows the graph to be viewed on screen. Of course when the
report is printed, if the user does not select "print background
items" somewhere in their print dialogue boxes, they get no graph
printed. Anybody know a good light-weight way of solving this? I was
thinking of making the bars all divs with a fixed width and variable
height and then putting a large foreground img into them. But wouldn't
this cause the div to automatically expand to the full height and
width of the img? Perhaps I could variably set image height="x" within
the img tag? Is their a CSS method to force background printing to
"on" for an item?

Any help appreciated.

- Ben
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to