Jump to content

Recommended Posts

Posted

Boa tarde...

Eu quero colocar tres imagens alinhadas e cada imagem vai ter um texto sobre a respectiva imagem que tem de estar alinhado debaixo da imagem.

Eu se coloco assim:

                        <img src="img1.jpg" alt="img1" width="304" height="228" />
		<img src="img2.jpg" alt="img2" width="304" height="228" />
		<img src="img3.jpg" alt="img3" width="304" height="228" />
		</br>
		<font size="3" face="arial" color="red">
		<h2>Texto da imagem 1 Texto da imagem 2 Texto da imagem 3</h2>
		</font>

e se coloco assim as imagens não ficam alinhadas  ?

<img src="img1.jpg" alt="img1" width="304" height="228" />
<h2>Texto da imagem 1</h2>
<img src="img2.jpg" alt="img2" width="304" height="228" />
<h2>Texto da imagem 2</h2>
<img src="img3.jpg" alt="img3" width="304" height="228" />
<h2>Texto da imagem 3</h2>

fica aqui uma imagem do que eu quero:

http://img807.imageshack.us/img807/7593/semttuloke.jpg

Uploaded with ImageShack.us

Linguagens: C / Java / Prolog / Assembly / HTMLA aprender: Java

Posted

Usa uma <table>!

Mete uma linha e tres colunas; dentro de cada celula mete a imagem, um (ou dois) <br> e o texto.

What have you tried?

Não respondo a dúvidas por PM

A minha bola de cristal está para compor; deve ficar pronta para a semana.

Torna os teus tópicos mais atractivos e legíveis usando a tag CODE para colorir o código!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.