...

View Full Version : Resolved Browser specific border shading???



adarshakb
12-11-2010, 06:49 AM
In mozilla the images have border around them... also in IE... i never intended that. But in chrome and opera it comes proper.. whats wrong?
here is the site http://bedupako.com/

abduraooft
12-11-2010, 07:56 AM
It's worthless to talk about browser compatibility before having a valid markup! See http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fbedupako.com%2F

First and foremost, you need a valid DOCTYPE at the top

adarshakb
12-11-2010, 09:30 AM
ok i added it. Also i found out that if i put border=0 the border disappears.. thanks

abduraooft
12-11-2010, 09:44 AM
ok i added it. Also i found out that if i put border=0 the border disappears.. thanks You shouldn't do that. The attribute border is deprecated and so you need to use CSS (border:none;) to remove the border

adarshakb
12-11-2010, 11:58 AM
You shouldn't do that. The attribute border is deprecated and so you need to use CSS (border:none;) to remove the border
but thats not having the desired effect.... mozilla and IE still puts a border there.

abduraooft
12-11-2010, 12:06 PM
but thats not having the desired effect.... mozilla and IE still puts a border there.
You might be doing something wrong!
The following would do it nicely.

#left a img{border:none;}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum