English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Two pictures NEXT to each other? when I insert two pictures they are above and below each other how do I insert them to be next to each other?

2007-04-26 09:29:57 · 10 answers · asked by I SLEEP TO DIE. 3 in Computers & Internet Programming & Design

10 answers

2007-04-26 09:33:10 · answer #1 · answered by Anonymous · 2 1

Create a table with 1 row and 2 column. Make the table border 0. Then insert a picture into each coloumn. You may ajust the height values.

The following is the HTML you would use:






2007-04-26 09:39:03 · answer #2 · answered by Buddy 4 · 0 0

There are a few possibilities as to why a line break would be added:

-You have added one manually between the images (
)
-The editor you are using automatically inserts an HTML line break with an editor-level line break (for example, you press Enter and it adds a line break)
-The container element of the images isn't wide enough to hold them both next to each other, so it wraps them.

If the first is true, remove the line break (
)
If the second is true, remove line spacing in your source
If the third is true, increase the width of the container element, if any.

You can try to force the images to be aligned a few ways












Then style the table and cells accordingly using CSS

or





or








That's how I do it, anyway. I'm sure there's a better way.

2007-04-26 09:37:46 · answer #3 · answered by d3v10u5b0y 6 · 0 0

No spaces between the 2 codes - so where one > ends the other < starts eg

2007-04-26 09:39:11 · answer #4 · answered by Anonymous · 0 1

Where ever you want the picture to go type:
mypicture

Sample:

Atom

Where (alt=photo") is what the viewer would see if the picture don't show and (src="location") is where you picture is loaded from. (border="0") means the size of the border around the picture in pixels.

2007-04-26 09:45:41 · answer #5 · answered by Frankie 4 · 0 0

Put them in a table so they will for sure stay next to each other.








http://w3schools.com/html/html_tables.asp

2007-04-26 09:47:33 · answer #6 · answered by rob 3 · 0 0

Make an invisible table with one row and two columns, then put your images in there.

2007-04-26 09:34:38 · answer #7 · answered by Yuy R 2 · 1 0

That usually means the pictures are too large to display next to each other... Try using the following code:



(or whatever smaller sizes work for you...)

2007-04-26 09:34:03 · answer #8 · answered by davidinark 5 · 0 4

Put them into a table



RJ

2007-04-26 09:34:14 · answer #9 · answered by Anonymous · 0 0

You cant because the images will overlap and will automatically not let you do it.

2007-04-26 09:34:07 · answer #10 · answered by ☺☻☺☻ 4 · 0 5

fedest.com, questions and answers