K
K
Kandelabra2015-10-15 08:41:49
css
Kandelabra, 2015-10-15 08:41:49

How to right align a div in a table cell?

I make up letters in tables. In the table cell, I drew a rectangle with a div to design the header. Now you need to move this block to the right edge of the cell (it pressed against the left edge). No way to do it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Torbeev, 2015-10-15
@Kandelabra

Can you see an example?
If the methods for the
Outer Block
or
do not help, then there is an option: make in front of the block that needs to be pressed to the right edge, another block equal in width (the width of the outer block is the width of the block that needs to be pressed to the right)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question