View Full Version : putting pictures side by side


lazygrl2day
08-30-2006, 07:15 PM
i'm working on a new guild layout for neopets, and i can't remember how to put 2 pictures side by side, can anyone help me out?

J to the izzosh
08-30-2006, 07:20 PM
Unless the element in which you're putting them isn't wide enough, then just placing two image tags one after another will allow them to display side-by-side as they are inline-level elements and do no automatically wrap to the next line.

<img src="URI1" alt="Alternative text." /><img src="URI2" alt="Alternative text." />

Or even...
<img src="URI1" alt="Alternative text." />
<img src="URI2" alt="Alternative text." />

lazygrl2day
08-30-2006, 07:28 PM
ok i understand that, but i'm putting the link to the person with the picture which i know how to do, but it's going up and down instead of side to side

J to the izzosh
08-30-2006, 08:10 PM
The same would apply to images which are links, as the anchor element (<a>) is inline-level, too. Could you post a link to the page in question?

lazygrl2day
08-31-2006, 01:22 PM
here's the link , but i dont know if it will let you see it unless you play the game... http://www.neopets.com/guilds/guild.phtml?id=1775603


but heres the coding i've used and it's doing it up and down


Member of the Month <br>is Little_red_pyscho<br><a href=http://www.neopets.com/randomfriend.phtml?user=little_red_pyscho><br><IMG SRC="http://usera.imagecave.com/lazygrl2day/zafara_royalgirl_baby.gif"></br><br><center> Pet of the Month is Nick_24471<br><br><center><a href=http://www.neopets.com/randomfriend.phtml?user=sunidee><br><IMG SRC="http://usera.imagecave.com/lazygrl2day/koi_robot_baby.gif"></a>

J to the izzosh
09-01-2006, 01:23 AM
Well, you should try removing the line breaks (<br>) from the source. They direct the browser to do a carriage return, causing subsequent content to appear on a new line.

lazygrl2day
09-03-2006, 02:01 AM
lol... well i did that and it's still up and down... this is seriously driving me insane, i've never had this problem before....