does anybody know the basic html code to put a space between pictures so they don't apear on top of each other
???please i know it's something simple but i'm not not at home and don't have my html book
ok it's not the <br> tag i want pictures side by side small icons it's something wiht like an & sign in it
Public Comments
- <br>
- i think you should try the <br> tage. or you do left align and right align the pic. that is <valign></valign>
- i went to webrepairman.com, it says to make a table with columns. <table width="100%" cellspacing=3> <tr> <td> Put pic code here </td> <td> Put pic code here </td> <td> Put pic code here </td> </tr> </table> pic code = <img src="directory">
- <br> should stop them from being on top of each other but there will be no space between them. <p> will put one line of blank space it's sort of like hitting enter like that with the blank space above this line.
- Try <BR>
- <br> is a "line-break", that won't work. It'll only put images on top of one another, not side by side. The code is: & n b s p ; Without the spaces, obviously (it wouldn't show).
- You're talking about a non breaking space which looks like & n b s p; (without the spaces). Alternatively you could just apply a margin to your images, which is much more flexible as you can specify how big the margin is on each side of the image. <img style="margin: 0 20px 0 10px;"> The first number is the top margin, the second number is the right margin and so on in a clockwise direction. So the above image has a margin of 20 pixels on the right, 10 pixels on the left and 0 pixels on the top or bottom.
- <tab>
- & n b s p ; <--- simplest way to do it. A better way would be the modify the css properties for the img tag to add padding <style type="text/css"> img {padding-right: 20px; padding-left: 20px;} </style>
Powered by Yahoo! Answers