terry1975
(regular)
Mon Mar 21 2005 10:28 PM
Can I create a colour border around an image?

I've got a black background to my site so a border around my image doesnt appear. Is there a colour code for borders in HTML?

I've tried to look-up how you can do this on the net but can't find anything. Can you do this?

I know the border code is "border=3" say, for the thickness. I tried "border color=white" out of luck, but guess what? I was unlucky!


paul_lomax
()
Mon Mar 21 2005 11:51 PM
Re: Can I create a colour border around an image?

Use CSS (cascading style sheets)

put this in your image tag:
style="border: 1px solid white;"




Paul Lomax
Internet Technology Manager
IPC Country and Leisure Media
- www.ipcmedia.com

Pick Me Up magazine - Real life as you've never seen it before!


terry1975
(regular)
Tue Mar 22 2005 07:13 PM
Re: Can I create a colour border around an image?

Havent used CSS yet.

Thanks for the advice - will give that a go.


Contact Us | Privacy statement Main website
Hitwise Top 10 Award Winner - Jan-Mar 2005

About us | Contact us | Link to us | Terms & Conditions | Privacy Policy
© Copyright IPC Media Limited, All rights reserved