ค้นหาฝ่ายสนับสนุน

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.

เรียนรู้เพิ่มเติม

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

  • 1 การตอบกลับ
  • 2 คนมีปัญหานี้
  • 1 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย 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?

เปลี่ยนแปลงโดย cor-el เมื่อ

วิธีแก้ปัญหาที่เลือก

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.

อ่านคำตอบนี้ในบริบท 👍 2

การตอบกลับทั้งหมด (1)

more options

วิธีแก้ปัญหาที่เลือก

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.