Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: How to get 3 pictures to show up on the same line on webpage/site??? / RESOLVED  (Read 8461 times)

0 Members and 1 Guest are viewing this topic.

kick9_soccer

  • Guest
Im trying to get more then one picture/image to show up right next to each other on my web page/site, but I cant get it to work.  Iv tryed "div align" and "img src" but neither works.  What do I need to put to get more the one image side by side on my web page?

-Melissa-
« Last Edit: May 30, 2007, 09:30:50 PM by dl65 »

CBMatt

  • Mod & Malware Specialist


  • Prodigy

  • Sad and lonely...and loving every minute of it.
  • Thanked: 167
    • Yes
  • Experience: Experienced
  • OS: Windows 7
If I'm understanding you right, then all you need to do is...

<img src="PICTURE 1"><img src="PICTURE 2"><img src="PICTURE 3">

Just keep the three codes side-by-side.  However, if the pictures are too wide, the last one will drop so they'll fit in the page.
Quote
An undefined problem has an infinite number of solutions.
—Robert A. Humphrey

kick9_soccer

  • Guest
Perfect!!! Worked great :) Thanks for your help.

-Melissa-

CBMatt

  • Mod & Malware Specialist


  • Prodigy

  • Sad and lonely...and loving every minute of it.
  • Thanked: 167
    • Yes
  • Experience: Experienced
  • OS: Windows 7
No problem, I'm glad it worked out for you.
Quote
An undefined problem has an infinite number of solutions.
—Robert A. Humphrey

soybean



    Genius
  • The first soybean ever to learn the computer.
  • Thanked: 469
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 10
I would use a table with three cells for those pictures.  That way, you can make them stay side by side, even if the pictures are too wide for the viewer's screen.  The horizontal scroll bar would then appear. 

Raptor

  • Guest
Don't use tables, Use CSS to create a picture gallery.

Using tables the way Soybean suggested would confuse some browsers..

And don't forget to include the alt text..

CSS Image Gallery

soybean



    Genius
  • The first soybean ever to learn the computer.
  • Thanked: 469
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 10
Firefox and IE are not confused by this: http://home.earthlink.net/~dderolph/Nvu/Table_test.html

What browsers are confused by it?

Raptor

  • Guest
Firefox and IE are not confused by this: http://home.earthlink.net/~dderolph/Nvu/Table_test.html

What browsers are confused by it?

Browsers that interpret tables in a different way, such as audio browsers. And perhaps some text-only browsers as well.

Besides that, they're not meant for building a layout. Just browse the W3C website and you'll see soon enough.

CBMatt

  • Mod & Malware Specialist


  • Prodigy

  • Sad and lonely...and loving every minute of it.
  • Thanked: 167
    • Yes
  • Experience: Experienced
  • OS: Windows 7
Maybe I'm wrong, but I have a feeling that this might just be for MySpace purposes.  And if that's the case, I doubt she feels like going through all of this trouble.
Quote
An undefined problem has an infinite number of solutions.
—Robert A. Humphrey

Raptor

  • Guest
Maybe I'm wrong, but I have a feeling that this might just be for MySpace purposes.  And if that's the case, I doubt she feels like going through all of this trouble.

We should ban myspace users.

I love myspace users!

« Last Edit: May 18, 2007, 11:01:42 AM by Raptor »

michaewlewis



    Intermediate
  • Thanked: 26
    • Yes
    • Yes
  • Experience: Expert
  • OS: Unknown
Tables are easy and the get the job done.
I would still use tables, even if Mr. Data can't read it in Lynx :P

Raptor

  • Guest
Tables are easy and the get the job done.
I would still use tables, even if Mr. Data can't read it in Lynx :P


Actually, tables make your code a mess, it is much easier to use CSS.

michaewlewis



    Intermediate
  • Thanked: 26
    • Yes
    • Yes
  • Experience: Expert
  • OS: Unknown
I think tables make your code look pretty. :P
I prefer tables.  ;D

Raptor

  • Guest
I think tables make your code look pretty. :P
I prefer tables.  ;D

Well, here's a good reason why not to prefer them 5.3 - Do not use tables for layout unless the table makes sense when linearized.

kick9_soccer

  • Guest
lol thats perfect guys :) Thanks for your help! It looks great now.

-Melissa-