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

bottom alignment in table cell isn't working

Explorer ,
Feb 27, 2015 Feb 27, 2015

Copy link to clipboard

Copied

So, I have a one row, 2 column table.  In the second/last column, I have an image that needs to be bottom and right aligned.  However, no matter what I do, I can't get the image to sit at the bottom of the cell.

If I add columns, and move the image to one of the inside columns, it bottom aligns, but if I then delete the column to the right (so that the image is now, again, in the last column) the image again is not bottom aligned.

I have tried giving the image a negative bottom margin, but that isn't working.

here's the code:

<td class="last" style="vertical-align: bottom;"><a href="#TOPofPage1"><img

   src="../RESOURCES/i_SPECIAL_art/RETURNtoTopIcon.png" alt="" class="TOPofPage"

   style="margin-bottom: -12px;" /></a></td>

here's what it looks like:

bottom alignment.PNG

So the orange circle with the white triangle needs to be resting at the bottom of its column... why isn't it?

Views

183

Translate

Translate

Report

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

Community Expert , Mar 01, 2015 Mar 01, 2015

When I copy your cell code and just change the image to a plain triangle I have, the bottom alignment and negative margin work correctly.

Check other styling in the tr and table tags, and also any of the styles applied to any part of the table - maybe something there is setting the alignment of the cell.

If nothing looks obvious, perhaps copy the whole table to a fresh test project to see what happens, and gradually add back in your styles to see if you can reproduce.

Votes

Translate

Translate
Community Expert ,
Mar 01, 2015 Mar 01, 2015

Copy link to clipboard

Copied

When I copy your cell code and just change the image to a plain triangle I have, the bottom alignment and negative margin work correctly.

Check other styling in the tr and table tags, and also any of the styles applied to any part of the table - maybe something there is setting the alignment of the cell.

If nothing looks obvious, perhaps copy the whole table to a fresh test project to see what happens, and gradually add back in your styles to see if you can reproduce.

Votes

Translate

Translate

Report

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
Explorer ,
Mar 02, 2015 Mar 02, 2015

Copy link to clipboard

Copied

LATEST

THANKS AMEBR.. i always forget that "put it in a new project thing!" lol

Votes

Translate

Translate

Report

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
RoboHelp Documentation
Download Adobe RoboHelp