McPhersonline Posted August 4, 2009 Share Posted August 4, 2009 My image links don't necessarily have "borders." It's more of a tiny blue line just benath/just to the right of the image. http://www.mcphersonline.com/pages/bio.html If you look at the tiny gray bar with the youtube, twitter, and facebook icons, you'll see the tiny little blue or purple lines. Either that, or they appear on image links you've already clicked. So click one, then hit back and you should see what I'm talking about. I've tried border=0 Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/ Share on other sites More sharing options...
ToonMariner Posted August 4, 2009 Share Posted August 4, 2009 use css... a img { border: none; } <img ... border="0" /> - the border attribute is deprecated... if you still have probs try text-docoration: none; in your css... Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/#findComment-890198 Share on other sites More sharing options...
McPhersonline Posted August 4, 2009 Author Share Posted August 4, 2009 Thanks for your help, but neither of those fixed the problem. Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/#findComment-890207 Share on other sites More sharing options...
ToonMariner Posted August 4, 2009 Share Posted August 4, 2009 did you note how I spelt decoration wrong??? if they dont fix it then something else is dickin with it.... Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/#findComment-890210 Share on other sites More sharing options...
ldougherty Posted August 4, 2009 Share Posted August 4, 2009 The border=0 goes on the img tag not the href. <img src=/images/sitegraphics/facebook.png> should be <img src='/images/sitegraphics/facebook.png' border='0'> Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/#findComment-890211 Share on other sites More sharing options...
McPhersonline Posted August 4, 2009 Author Share Posted August 4, 2009 I made the adjustment, but it didn't fix the problem Thanks for pointing out that error though. Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/#findComment-890217 Share on other sites More sharing options...
roopurt18 Posted August 4, 2009 Share Posted August 4, 2009 I don't see the lines you're talking about, but your page does render slightly differently in IE7, FF3, and Google Chrome. Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/#findComment-890224 Share on other sites More sharing options...
McPhersonline Posted August 4, 2009 Author Share Posted August 4, 2009 Thanks for the note. ...But yeah, the lines are still there. (In FF and IE, at least. I don't have Chrome, so I don't know 'bout that one) Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/#findComment-890236 Share on other sites More sharing options...
Philip Posted August 4, 2009 Share Posted August 4, 2009 I also don't see the lines. Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/#findComment-890244 Share on other sites More sharing options...
McPhersonline Posted August 4, 2009 Author Share Posted August 4, 2009 You don't see them in any browser? Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/#findComment-890248 Share on other sites More sharing options...
McPhersonline Posted August 4, 2009 Author Share Posted August 4, 2009 They're not big. They're like...hyphen-sized. Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/#findComment-890250 Share on other sites More sharing options...
Philip Posted August 4, 2009 Share Posted August 4, 2009 Thats correct, can you take a screenshot? Here's mine: http://img20.imageshack.us/img20/9540/capx.jpg Ahh at the bottom? Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/#findComment-890252 Share on other sites More sharing options...
McPhersonline Posted August 4, 2009 Author Share Posted August 4, 2009 I see them in your screenshots. I would post screenshots, but they'd look exactly like yours. Yes, the little hyphens at the bottom. Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/#findComment-890254 Share on other sites More sharing options...
phpSensei Posted August 4, 2009 Share Posted August 4, 2009 Your HTML coding first of all is a mess. Validate it through w3, then come back if you still have the same problems. Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/#findComment-890255 Share on other sites More sharing options...
McPhersonline Posted August 4, 2009 Author Share Posted August 4, 2009 What does 'validate it through w3' mean? Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/#findComment-890260 Share on other sites More sharing options...
phpSensei Posted August 4, 2009 Share Posted August 4, 2009 http://validator.w3.org/ 19 Errors, 18 warning(s) Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/#findComment-890262 Share on other sites More sharing options...
phpSensei Posted August 4, 2009 Share Posted August 4, 2009 To fix the problem, just put this in your CSS .imglink { text-decoration: none; } .imglink a:link{ text-decoration: none; } .imglink a:active{ text-decoration: none; } .imglink a:visited{ text-decoration: none; } and change <div id=joinpannel> to <div class="imglink" id=joinpannel> Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/#findComment-890266 Share on other sites More sharing options...
McPhersonline Posted August 4, 2009 Author Share Posted August 4, 2009 Alright, the problem is fixed. Thank you for everything dude. Link to comment https://forums.phpfreaks.com/topic/168731-solved-image-border-not-so-simple/#findComment-890574 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.