That's good in IE, but not Netscape.
----- Original Message ----- From: "Anthony Tagunov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 24, 2002 04:06 pm Subject: Re: Bar graph in JSP > Hello, Priya! > > RRCGL> Hi Anthony, > > RRCGL> Just run this HTML code and tell me is this what you require.... > > RRCGL> <table width="300" align="left"> > RRCGL> <tr align="left"><td><hr width="30" size="15" noshade></td></tr> > RRCGL> <tr align="left"><td><hr width="70" size="15" noshade></td></tr> > RRCGL> <tr align="left"><td><hr width="50" size="15" noshade></td></tr> > RRCGL> <tr align="left"><td><hr width="40" size="15" noshade></td></tr> > RRCGL> </table> > > RRCGL> You can set the width of <hr> according to the different values for the > RRCGL> graph....Hope this helps. > > RRCGL> Priya. > > Yes, it's very nice! > > The only probably unwellcome thing about this approach is that > something quite different is rendered in NN 4.7 and NN 6 (they > both round the corners). Sure NN rendering is much more cozy, but > still it is different from IE. And Opera 6 unfortunantly renderes > bars as expected but does not fill them with color :( > And in NN and Opera I did not find a way to change color of the > images, while in IE it can easealy be done. > > So, as a resume, it is great for IE, but not as good for others. > Again we have to pack it into a table, while the <img> approach > allowes us to embed our bars into text, as <img> is a replacable > inline-level element. > > Looks like no solution as reliable as a tiny gif has been found. > Candidates were: <div>,<td>,<hr>. But none looks to do the job > as perfectly as <img width="xxx" height="yy"> > > Best regards, Anton Tagunov > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com