Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

html table and need to be in upper left corner

New Here ,
Oct 18, 2006 Oct 18, 2006
hello,
i currently have this table with a description and fieldvarname outputs on the center of the table
i need to have it display in the upper left corner in the table.
what do i have to change in my code below?
thanks
<table width="100%" height="79" border="1">
<tr><td width="55%" height="75"><strong> Description</strong>: #fieldvarname#
</table>
TOPICS
Getting started
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Oct 22, 2006 Oct 22, 2006
Perhaps the easiest way (not necessarily the best way) is to remove the align attributes from the TD tag and place a Nested table in the cell. Otherwise you could try and use Div tags for each... something like

<table width="100%" height="79" border="1">
<tr>
<td align="left" valign="top" width="55%" height="75">
<div style="height:50; text-align:right;"><strong> Description1</strong>: fieldvarname1</div>
<div"><strong> Description2</strong>: fieldvarname2</div>
</td>
</tr>
</table>
Translate
Contributor ,
Oct 18, 2006 Oct 18, 2006
add align="left" and valign="top" in your td tag and see what happens additionally your missing
the closing /td and /tr tags:

<table width="100%" height="79" border="1">
<tr><td align="left" valign="top" width="55%" height="75"><strong> Description</strong>: #fieldvarname#</td>
</tr>
</table>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 18, 2006 Oct 18, 2006
thanks !
it actuall works !
in addition
what if i needed
<strong> Description2</strong>: #fieldvarname2# to be in the upper right
and
<strong> Description</strong>: #fieldvarname3# to be in lower left

and inside the table
thanks
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 22, 2006 Oct 22, 2006
LATEST
Perhaps the easiest way (not necessarily the best way) is to remove the align attributes from the TD tag and place a Nested table in the cell. Otherwise you could try and use Div tags for each... something like

<table width="100%" height="79" border="1">
<tr>
<td align="left" valign="top" width="55%" height="75">
<div style="height:50; text-align:right;"><strong> Description1</strong>: fieldvarname1</div>
<div"><strong> Description2</strong>: fieldvarname2</div>
</td>
</tr>
</table>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources