Log In · Register

 
 
Closed TopicStart new topic
image, borders on Firefox
pandemonium
post Jul 15 2008, 11:48 AM
Post #1


the name's mario
******

Group: Official Member
Posts: 1,270
Joined: Jun 2008
Member No: 656,520



ok so i have this layout Click Here, the borders work fine in IE7 with the border=0 tags but on firefox there's a border around the images from the navigation (add, mesg, etc) how can i get rid of the border without it affecting it on IE7??
 
digitalle
post Jul 15 2008, 01:45 PM
Post #2


Newbie
*

Group: Member
Posts: 1
Joined: Jul 2008
Member No: 667,563



the border=0 attribute under image style tags only affects IE. to remove the borders in firefox, you'd want to insert it directly into the image tags, if that makes sense. for example, instead of putting in <img src="image url" style="border=0">, you would put in <img src="image url" border=0>.
 
mipadi
post Jul 15 2008, 03:12 PM
Post #3


Senior Member
******

Group: Administrator
Posts: 2,648
Joined: Apr 2008
Member No: 639,265



Just do this:

CODE
<img src="path/to/file.jpg" style="border:0;">


That should work across all browsers.
 
pandemonium
post Jul 15 2008, 08:25 PM
Post #4


the name's mario
******

Group: Official Member
Posts: 1,270
Joined: Jun 2008
Member No: 656,520



fixed it, thanks for replying
 
tokyo-rose
post Jul 15 2008, 08:27 PM
Post #5


Senior Member
********

Group: Head Staff
Posts: 18,173
Joined: Mar 2005
Member No: 108,478



Closed; moved to Resolved.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: