homepage Welcome to WebmasterWorld Guest from 184.73.52.98
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Different Border Colour
GhostPig




msg:972172
 12:07 pm on Jul 2, 2004 (gmt 0)

Hello,

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" />

Thanks!

 

D_Blackwell




msg:972173
 4:18 pm on Jul 2, 2004 (gmt 0)

You might consider adding some CSS.
<p style="text-align: left;">
<img src="../KOTOR.jpg" style="width: 250px; height: 187; border: .2em solid #00f;" />
</p>

Add this within <head> to affect every image on the page.
<style>
img {
border: .2em solid #00f;
}
</style>

OrlandoTodd




msg:972174
 2:20 pm on Jul 9, 2004 (gmt 0)

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved