Forums / Setup & design / Border image - Issue

Border image - Issue

Author Message

Chris Lan

Tuesday 20 December 2005 9:50:25 pm

Hello,

I encountered two issues with the image border. I add in the css this but nothing happen:

div.attribute-image
border-bottom: 1px;
border-top:1px ;
border-left:1px ;
border-right:1px ;

And when I apply a link to the image the border does not work:

<a href={concat('/content/view','/full/',$:item.node_id)|ezurl}><img src={$random:item.object.data_map.image.content[medium].full_path|ezroot} align="center" border="1"></a>

Sorry to bother you with so simple things but I don't see what I doing wrong.

Thanks,
Chris

Siw Helen Thorslund

Wednesday 21 December 2005 3:16:36 am

Try this code:


div.attribute-image a img {
	border: 3px solid #ff0000;
}

See demo: http://vzt.no/test/css/imgborder/

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Chris Lan

Monday 02 January 2006 11:50:31 pm

Thanks Siw Helen but it does not work. I clean the cache and so but nothing change. Any other idea?

Thanks,
Chris

john polo

Tuesday 03 January 2006 12:13:21 am

add this to your .css

a img
{
border: 3px;
}