Hi,
The following CSS style
IMG.stylename { border: 1pt solid blue; }
is working fine in IE but not in Netscape 4.6. Is there any work around?
Thanks & Rgds
Jayakarthikeyan.S
Image Border Color
It's probably not very good practice to use points as a unit of measurement for borders and other non-text elements. Points are a print unit, so their use is fairly redundant on the web anyway, but thet's an issue for another day
Try replacing the "1pt" bit with a unit of measurement such as pixels (e.g. 3px) or ems (e.g. 0.2em) and see how you go:
IMG.stylename { border: 3px solid blue; }
IMG.stylename { border: 0.2em solid blue; }
Image Border Color
Hello insin,
In Netscape Border is appearing at the bottom of the image as rectangular box.
Code is as follow:
<style type="text/css">
IMG.stylename { border: 0.2em solid black; }
</style>
<img class="stylename" src="../CourseManagement/Generating_and_Printing_Documents/Manually_Generating_and_Printing_Documents/images/6_1_4.1.jpg" border="1" usemap="#FormMap" />
<map name="FormMap">
<area shape="rect" coords="335,31,366,59" onmouseover="return escape(strContent[0]);" href="#" />
</map>