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.

Search Support

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

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

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

  • 1 freagra
  • 2 leis an bhfadhb seo
  • 1 view
  • Freagra is déanaí ó 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?

Athraithe ag cor-el ar

Réiteach roghnaithe

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.

Read this answer in context 👍 2

All Replies (1)

more options

Réiteach Roghnaithe

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.