D
D
Denis Kiselev2017-01-16 20:27:25
css
Denis Kiselev, 2017-01-16 20:27:25

Fluid layout and elements with absolute positioning. How?

Essence of a question: There is a block (map) on it divs with absolute positioning are located. The layout is rubbery, and when the window width changes, these divs move around the map. How to solve this problem?
For clarity:
b69c4f42d2b0461098377925259d4a5a.png
Change the width, and..
c64c003dc9b94c8cab612231ace1b29d.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2017-01-16
@xmoonlight

Make an outer container (wrapper) and place labels inside.
And the lining inside the wrapper (including the sizing of the image with the map) is better to do with percentage blocks, then the labels will not run into the graphics.
In general, everything that is connected with marks on the world map is typeset exclusively on SVG.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question