Bisa Posted October 26, 2008 Share Posted October 26, 2008 I'm trying to get my images to show a black border but this code won't do it img { border: #000000; border: 30; } I'm not sure if I do this right tbh, simply including the css file have no effect on my images and giving the table class="img" netted me no border either. Link to comment https://forums.phpfreaks.com/topic/130181-solved-img-bordercolor/ Share on other sites More sharing options...
Bisa Posted October 26, 2008 Author Share Posted October 26, 2008 never mind for now, it's a local style for some thumbnails so I simply edit the img html tag but if anyone wants to help me out using a css I'd appreciate it. Link to comment https://forums.phpfreaks.com/topic/130181-solved-img-bordercolor/#findComment-675082 Share on other sites More sharing options...
ifubad Posted October 26, 2008 Share Posted October 26, 2008 You have to specify the style of the border also and the length type used, like px for example, like so border: 30px solid #000000; /*shorthand method*/ Link to comment https://forums.phpfreaks.com/topic/130181-solved-img-bordercolor/#findComment-675123 Share on other sites More sharing options...
Bisa Posted October 26, 2008 Author Share Posted October 26, 2008 cheers, thnx for the clarification Link to comment https://forums.phpfreaks.com/topic/130181-solved-img-bordercolor/#findComment-675221 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.