This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Buscar en Ayuda

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Web site with graphic in a table misaligns text in adjacent cell

  • 1 respuesta
  • 2 tienen este problema
  • 1 visita
  • Última respuesta de cor-el

more options

Part of my web page code is

<table  width="95%" border="1" cellspacing="0" cellpadding="4">
   <tr>
    <td>
     More text in the left
     <br>
     And more
     <br>
     And even more
    </td>
    <td >
     <IMG src="Kitchener.jpg" style="width:8em; height:10em">
    </td>
   </tr>
  </table>
and my style is
<STYLE type="text/css">
		<!-- TD {text-align: left; vertical-align: text-top; border: 1px solid black} -->
</STYLE>

The text in the left-hand cell appears at the bottom of the cell and seems to avoid the vertical dimension of the graphic.

Can you help?

Part of my web page code is <br /> <pre><nowiki><table width="95%" border="1" cellspacing="0" cellpadding="4"> <tr> <td> More text in the left <br> And more <br> And even more </td> <td > <IMG src="Kitchener.jpg" style="width:8em; height:10em"> </td> </tr> </table> and my style is <STYLE type="text/css"> <!-- TD {text-align: left; vertical-align: text-top; border: 1px solid black} --> </STYLE> </nowiki></pre> The text in the left-hand cell appears at the bottom of the cell and seems to avoid the vertical dimension of the graphic. Can you help?

Modificadas por cor-el el

Solución elegida

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.

Leer esta respuesta en su contexto 👍 2

Todas las respuestas (1)

more options

Solución elegida

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.