Forum Moderators: open

Message Too Old, No Replies

IE Image border colour link problem

         

shamhead

11:37 pm on Dec 4, 2003 (gmt 0)

10+ Year Member



Hi, im a bit stuck with this, in mozilla the border around thumbnails in the following page correspond to the CSS code in the page but in Internet Explorer 6 the borders revert to the old Blue and Purple colours.

<sorry, no urls - see Terms of Service [webmasterworld.com]>

What code would i need to have to display properly in IE?

Cheers :)

[edited by: tedster at 3:57 am (utc) on Dec. 5, 2003]

DrDoc

11:55 pm on Dec 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World!

What does the relevant part of your style sheet look like?

divaone

12:00 am on Dec 5, 2003 (gmt 0)

10+ Year Member



make your border to = zero then use your styles to adjust it to what you'd like. you could add bordercolor=xyz but i'd recommend against that.

hth

shamhead

11:56 am on Dec 5, 2003 (gmt 0)

10+ Year Member




Ahhh sorry for the mistake of posting a link.

Anyho.. thanks for the welcome guys, heres the code for each image link...

<td width="40" height="40"><div align="center"><a href="javascript:;" onClick="JustSoPicWindow('donegal/donegal_coast.jpg','426','650','shamhead','#000000','hug image','40');return document.MM_returnValue"><img src="donegal/donegal_coast.gif" width="40" height="40" border="1"></a></div></td>

divaone: thanks but i think i may have tried that and it didnt work, maybe i did it wrong? - Whereabouts in the above code would i place the class="style" CSS line?

thanks

divaone

12:48 pm on Dec 5, 2003 (gmt 0)

10+ Year Member



good morning,

<img src="donegal/donegal_coast.gif" width="40" height="40" border="1">

try

border="0" class="myimages"

in your styles add whatever you'd like, like

.myimages {border:solid red;border-width:1px 2px 3px 4px;}

try w3schools.com for more examples of border styles.