S
S
Sergey Kiselev2015-11-07 21:57:22
HTML
Sergey Kiselev, 2015-11-07 21:57:22

How to display the site in full screen width by default?

The site layout is set to a minimum* width of 960px, but on a mobile device with a smaller screen width, the site loads according to the resolution. When zooming out, some of the background of the zoomed element is lost. How to avoid it?
marketodont.com
4e5e07115dda4c9bb12c7be372f82fdf.jpg

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey Kiselev, 2015-11-08
@n0thero

The issue was resolved by applying min-width: 960px (to match the whole layout) to the elements whose background was causing the bug.

T
Tlito, 2015-11-07
@tlito

remove the .container option:
/* min-width: 960px; */
and everything will be ok. and learn how to use firebug.
you have not the maximum but the minimum width is set.

I
Ilya, 2015-11-07
@FoxT

Create a mobile version with optimization.

S
svd71, 2015-11-07
@svd71

Finally, start writing values ​​not in pixels, but in percentages: min-width: 90%;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question