Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I can't get a border around my image without making it into a link. 1

Status
Not open for further replies.

nekonog

Technical User
Joined
Oct 24, 2001
Messages
1
Location
CA
I just want a nice 1pt border around images. But unless I turn them into links, which I don't want to do (cause people will wonder why they don't go anywhere) the border doesn't show up. How do you get a border without making a the image a link?
 
Just add a 1px border to your images in your favourite photo editor
 
Hello nekonog!

You may set border around your image doing any of this:

1) select your image, open Properties window, at the right corner you'll see Border, set any size (5 for a example).

2) open CSS Styles window, create new style (click on Plus + sign), select Border, set border width and color and select Solid from the drop down menu. Select your image, apply your new created CSS to it (click on the name of new CSS Style at the CSS Styles window).

I would recommend to use both things together, because first will work in all browsers (but the border will always be black) and second will let you set the color.

Good Luck!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top