| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Different Border Colour|
I have the below code on a page with a black background, and was wondering what I need to add to it to change the border colour?
<img src="../KOTOR.jpg" width="250" height="187" border="10" align="left" />
You might consider adding some CSS.
<p style="text-align: left;">
<img src="../KOTOR.jpg" style="width: 250px; height: 187; border: .2em solid #00f;" />
Add this within <head> to affect every image on the page.
border: .2em solid #00f;
You can also try this line:
border="10" style="border-color: red green blue yellow"
1st color is the top, 2nd left, 3rd right, 4th bottom... but it may not work in older browsers. I think IE5 and higher it's ok.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved