Friday, May 21, 2010

How do you make a break between two pictures in html code?

I'm messing around on my myspace page and there are two pictures that are literally on top of eachother. I wanted there to be a space in between them and I don't know how to write that into the code. I understand codes somewhat but I don't understand how to do this because the picture codes for each of them are separate but in form they look connected and I don't like that. Please be detailed in your answers as I am only a layman!

How do you make a break between two pictures in html code?
Try this:





%26lt;table border="0" width="100%"%26gt;


%26lt;tr%26gt;


%26lt;td%26gt;%26lt;img src="YourPic1.jpg" border="0" /%26gt;%26lt;/td%26gt;


%26lt;td width="1%"%26gt; %26lt;/td%26gt;


%26lt;td%26gt;%26lt;img src="YourPic2.jpg" border="0" /%26gt;%26lt;/td%26gt;


%26lt;/tr%26gt;


%26lt;/table%26gt;





You can just increase the "1%" to a larger value which will give you more space.
Reply:....
Reply:Type in
space between br and slash. Just plug this in between two pictures that you want spaced out.
Reply:%26lt;br%26gt; between the two %26lt;img%26gt; tags would put the images vertically next to each other, to achieve a vertical blank space a second %26lt;br%26gt; would be required.





%26amp; n b s p (all one word without the spaces)  between the two %26lt;img%26gt; tags would put the images horizontally next to each other, with a blank space in-between.


No comments:

Post a Comment