S
S
sergey2015-06-17 12:05:44
Mathematics
sergey, 2015-06-17 12:05:44

How to get around this situation?

I got a site for adapting, the question is this: there is a div container with a fixed width of 980 px, it has two blocks block1 width: 220px, and block2 the width of the second is formed as a difference, that is, 750 px and it is set margin-left 225px. When the screen is reduced, it is necessary that the size of the second block (there is text) decrease. The block is reduced but the text is cut off. I can not understand why and what to do so that the text is not cut off?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Entelis, 2018-09-09
@DmitriyEntelis

1. Open Google, find the algorithm for finding GCD.
1. Sit for 2 minutes and think for yourself.
2. Implement in code.
In general, such tasks are asked at interviews not to check if you remember the Euclid algorithm from the 9th grade of school, but to see the ability to solve problems on your own.
If you are allowed to google, you must google.
Being able to quickly find information and ask the right question in normal companies is highly valued.
If you are not allowed to google, you can always write a blunt enumeration as a quick (in terms of programmer time) solution.
It's quite good if you think about boundary conditions and incorrect input at the same time.
Again, someone will send just 4 lines of code, and someone will wrap them in a function, a function in a class, describe possible arguments and exceptions, etc.

A
Andrey, 2018-09-09
@VladimirAndreev

Nod - is it the smallest or the largest?
In the first case, the answer is obvious - infinity

P
Polycarp the Boreman, 2015-06-17
@zorro76

>> load libastral ... done
>> init extrasensoric ... done I

suspect that the second div has an overflow property set to hidden. But (see above) psychics at the workshop, it would be nice to show the markup and styles for the problem area in full.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question