Total members 11893 |It is currently Tue Nov 05, 2024 1:25 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





I would like to put some sort of border around the JPG image.




Author:
Proficient
User avatar Posts: 280
Have thanks: 1 time

You can do it in an image editing tool, or through CSS:

img {border: 1px solid #000000;}

The first bit there (1px) is the width of the border, and can be just about
anything, but make sure that you include the unit of measurement.
The second is the style of the border. This page:
Code:
http://www.w3schools.com/css/tryit.asp?filename=trycss_border-style shows the

styles that you can use.
The third is the color of the border. If you'd like some assistance in picking a
good border color, I'd suggest that you check out Adobe Kuler at
Code:
http://kuler.adobe.com.


_________________
Please recommend my post if you found it helpful


Author:
Proficient
User avatar Posts: 228
Have thanks: 0 time
Post new topic Reply to topic  [ 2 posts ] 

  Related Posts  to : Border around JPG img
 Add solid Border to div     -  
 Add dotted Border to div     -  
 separate border collapse example     -  
 set the size of border in pixels     -  
 Set border bottom color     -  
 Add dashed border to text div     -  
 Table Border Colors for PHPBB3     -  
 Remove border of the linked image     -  
 Add border around ordered list elements     -  
 change border style to solid at div tag     -  









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com