Home   News  Product reviews  Website reviews  Forums   Competitions  Subscribe 


Web Building >> Web design & build
 |  Print Topic
Jump to first unread post. Pages: 1
terry1975
regular


Reg'd: Tue
Posts: 124
Can I create a colour border around an image?
      #172015 - Mon Mar 21 2005 10:28 PM

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!


Post Extras: Print Post   Remind Me!   Notify Moderator  
paul_lomax



Reg'd: Wed
Posts: 1661
Loc: London, England
Re: Can I create a colour border around an image? [Re: terry1975]
      #172031 - Mon Mar 21 2005 11:51 PM

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!


Post Extras: Print Post   Remind Me!   Notify Moderator  
terry1975
regular


Reg'd: Tue
Posts: 124
Re: Can I create a colour border around an image? [Re: paul_lomax]
      #172187 - Tue Mar 22 2005 07:13 PM

Havent used CSS yet.

Thanks for the advice - will give that a go.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1

Rate this topic

Jump to


Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:  putasolutions, Joe_London, greysts, bricat, Nanook, Hello_There, John_McKenna, Mouse, TheFatControlleR 


Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      Mark-up is enabled

Rating:
Topic views: 274

Contact Us | Privacy statement Main website