חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

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

  • 1 תגובה
  • 2 have this problem
  • 1 view
  • תגובה אחרונה מאת 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.

Read this answer in context 👍 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.