A
A
AFoST2011-05-28 14:33:29
css
AFoST, 2011-05-28 14:33:29

CSS, layout. 4 blocks. 1 stretches depending on the behavior of the other 2. How?

Hey! Need help with layout.

The picture shows a diagram:

image

The width of the entire document, the distance between blocks and the 3rd block have a fixed width.
Here on the left and right are blocks with texts (“Some Text 1” and “Some Text 2”), the width of which changes if you select a different language (Russian, English, French ... etc.). Depending on the width of blocks with texts, the width of “Some Input” should change. Tell me, please, how the layout will look like.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
sajgak, 2011-05-28
@AFoST

Now I'm probably being stumbled, but even so, the easiest way to do this is with a table. Each of your 7 blocks is a separate table cell.

D
dom1n1k, 2011-05-28
@dom1n1k

I support the answer above: in this case it is better/more logical/more convenient to use a table.

M
MT, 2011-05-28
@MTonly

Can be solved with negative margins by nesting multiple times.

A
AFoST, 2011-05-30
@AFoST

Thanks for answers!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question