I'm using the "Start Up" template and have a K2 article with a image in.
I want to add a few lines of CSS to make the image opaque and then go back to normal when the mouse hovers over it however Joomla doesn't seem to like this.
I put the code in a plain text file and seems to work okay. Is this the best way of doing this or is there an alernative?
- Code: Select all
<STYLE>
img
{
opacity:0.4;
filter:alpha(opacity=40); /* For IE8 and earlier */
}
img:hover
{
opacity:1.0;
filter:alpha(opacity=100); /* For IE8 and earlier */
}
</STYLE>
<p><a href="http://vimeo.com/61799610" class="jcepopup" target="_blank" type="iframe"><img src="images/avt.png" width="241" height="136" alt="avt" /></a>
</p>
Current URL: http://visuallinemedia.com/index.php?option=com_k2&view=item&layout=item&id=163&Itemid=597
Thanks for any help!