HTML & WEB-Design

Moderators: Jonathan
Number of threads: 1253
Number of posts: 3360

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
border color Posted by airwalker on 27 Jun 2006 at 1:05 AM
Hi,

How do I change the border color of images in html?

thanks
Report
Re: border color Posted by zibadian on 27 Jun 2006 at 4:39 AM
: Hi,
:
: How do I change the border color of images in html?
:
: thanks
:
If the border is part of the image, then the answer is simple: you cannot!
If the border is part of the html code, then you can use CSS for that. See this link: http://www.w3schools.com/css/css_border.asp
Report
Re: border color Posted by mac_doggie on 2 Jul 2006 at 1:40 PM
: : Hi,
: :
: : How do I change the border color of images in html?
: :
: : thanks
: :
: If the border is part of the image, then the answer is simple: you cannot!
: If the border is part of the html code, then you can use CSS for that. See this link: http://www.w3schools.com/css/css_border.asp
:
<img src="images/myimage.jpg" style="border:1px solid green" />


in stead of green you can also type in any predefined colorname, an RGB value like this rgb(0,255,0) or a hexadecimal value like #00FF00 (these last are used most often.)

-mac-
mailto:mac_doggie@hotmail.com
the Netherlands...





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.