Try specifying border="0" on the image tag. -----Original Message----- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 2:02 PM To: user@struts.apache.org Subject: [OT]How Come My Image File is Surrounded by a Box?
I am trying to display an image. The image is displayed successfully; however, there is a box (I do not have a clue where the box comes from) surrounding the image. I cannot get rid of the box. The image is a link; therefore, it leads me to think that the box may be the 'underline' of the link (I can be wrong on this.) But I am having difficult time with the problem. OKay, I have a JSP page and a Master.css file. In the Master.css file, I changed color of some background color and text color of the JSP page. Those color changes reflect in my JSP page. Therefore, I believe the JSP page has found the Master.css. Am I correct? In the same Master.css file, I also have: code: ----------------------------------------------- A:link{ text-decoration:none;} ----------------------------------------------- but, all the links in my JSP page still have an 'underline'. Does the box around my image have something to do with the 'underline'? Why my JSP page cannot pick up the {text-decoration:none;} in the Master.css file? If the box has nothing to do with the 'underline', then, where does the box come from? How do I suppress it? Thank you very much. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]