P
P
Pavel Kizernis2015-10-02 16:15:26
css
Pavel Kizernis, 2015-10-02 16:15:26

Why doesn't vertical-align: bottom work?

/*адрес домена был удален*/
here is the element

<td class="col" valign="bottom" style="width:100%;vertical-align:bottom;">
          <br>
          <a class="footerlink" href="http://course.zaobrazovanie.ru" target="_blank">http://course.zaobrazovanie.ru</a><br>
          <a class="footerlink" href="http://vk.com/zaobrazovanie" target="_blank">http://vk.com/zaobrazovanie</a>
</td>

Sorry! inserted the wrong code above!
here is the element:
<table width="264" height="100%" border="0" cellpadding="0" cellspacing="0" align="right" class="force-row padding-for-desctops">
      <tbody><tr>
        <td class="col" valign="bottom" style="width:100%;vertical-align:bottom;/* height: auto; */">
          <br>
          <a class="footerlink" href="http://course.zaobrazovanie.ru" target="_blank">http://course.zaobrazovanie.ru</a><br>
          <a class="footerlink" href="http://vk.com/zaobrazovanie" target="_blank">http://vk.com/zaobrazovanie</a>
        </td>
      </tr>
    </tbody></table>

I need to press it to the bottom edge of the parent...
I've been braking for 30 minutes already...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ivanq, 2015-10-02
@Ivanq

Yes, put you there at the beginning of another br
And yes, Denis Ineshin is right

D
Denis Ineshin, 2015-10-02
@IonDen

Because both the left and right columns must be in the same table. Then there will be something to push off from to align with the bottom.

D
Dmitry Sergeevich, 2015-10-02
@CheckOneTwo

<td class="col" valign="bottom" style="width:100%; height: 64px; vertical-align:bottom;">
          <a class="footerlink" href="http://course.zaobrazovanie.ru" target="_blank">http://course.zaobrazovanie.ru</a><br>
          <a class="footerlink" href="http://vk.com/zaobrazovanie" target="_blank">http://vk.com/zaobrazovanie</a>
</td>

So it is pressed to the bottom, it's just that the container does not have the same height as the neighboring column, because they are not in the general table ..
Here, I set the same height as the neighboring container, everything fell into place as it should.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question