Etsi tuesta

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.

Lue lisää

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

  • 1 vastaus
  • 2 henkilöllä on sama ongelma
  • 2 näyttöä
  • Viimeisin kirjoittaja 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?

Muokattu , muokkaaja cor-el

Valittu ratkaisu

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.

Lue tämä vastaus kontekstissaan 👍 2

Kaikki vastaukset (1)

more options

Valittu ratkaisu

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.