Octopus Posted January 20, 2011 Share Posted January 20, 2011 I'm not sure if this is the right place to post this. I've been trying to make image links for my userlookup but everytime I type in the script to eliminate the border or reduce the size of the image Neopets keeps saying that the img src tag can only embed jpg images (or something like that). I'm a real beginner at CSS and none of the sites I've been to aren't helping. So, is it even possible to get rid of borders/change the size of image links using CSS? Quote Link to comment Share on other sites More sharing options...
livvy Posted January 21, 2011 Share Posted January 21, 2011 I'm anything but a coding expert, but could you put in a code box (on here that's {code}{/code}but with [] instead of {} ) the code you're currently trying to use? It might help the more tech-savvy users to know what to tell you. :) Quote Link to comment Share on other sites More sharing options...
Xepha Posted January 21, 2011 Share Posted January 21, 2011 Make sure to use the direct URL. Some image host (ie photobucket, imageshack) provide you with different kind of links. Some of them link to your album or are php generated, so it wouldn't work on Neopets directly. Quote Link to comment Share on other sites More sharing options...
mwcatlover Posted January 21, 2011 Share Posted January 21, 2011 There is usually nothing wrong with the link. Make sure it liiks like this: <img src=""> Note the spaces and the quotes. To your other qustion. Yes there is a code for that... Sorry I do not know it off hand try Sunnyneo html and css guide, http://www.neopets.com/~patraiki and http://www.neopets.com/~Sariyra#tuts-pet Quote Link to comment Share on other sites More sharing options...
Octopus Posted January 21, 2011 Author Share Posted January 21, 2011 Thanks everyone! This is the code before I tried to change image size and border: <a href="http://www.neopets.com/something"> <img src="random neopets image.jpg"> </a> But if I do <img src="random neopets image.jpg"border=0> Neopets won't accept it. What am I doing wrong? Quote Link to comment Share on other sites More sharing options...
antiaircraft Posted January 21, 2011 Share Posted January 21, 2011 There should be a space between your two attributes. ;) <img src="random neopets image.jpg" border=0> Quote Link to comment Share on other sites More sharing options...
Octopus Posted January 21, 2011 Author Share Posted January 21, 2011 Edit: Huh, it seems to be working now when I put a space between the border and the tag. Thank you! Quote Link to comment Share on other sites More sharing options...
antiaircraft Posted January 22, 2011 Share Posted January 22, 2011 Okay, just one additional note: all your attributes should be quoted, like so. <img src="random neopets image.jpg" border="0"> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.