G
G
grishaaa2015-01-21 11:43:26
css
grishaaa, 2015-01-21 11:43:26

I need the browser window to shrink only to 1024 and that's it. How should I do?

So that it does not decrease below 1024

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
mr_dev1l, 2015-01-21
@grishaaa

.wrapper {
min-width:1024px;
}

G
GavriKos, 2015-01-21
@GavriKos

So that the user cannot take the edge of the window and make it smaller? IMHO this is not possible on the web.

B
Billy Milligan, 2015-01-21
@Billy_Milligan

This cannot be done. What if the screen is less than 1024? And why do it at all?

V
Vladislav Kopylov, 2015-01-21
@kopylov_vlad

If you use bootstrap then the width of the page itself can be manipulated like this:
1) Download and include non-responsive.css
getbootstrap.com/examples/non-responsive/non-respo...
2) Specify in style.css

body{
  min-width: 1024px !important;
  margin: auto;
}
.container-fluid, .container{
  min-width: 1024px !important;}

3) In .html files
Add col-xs-* in addition to existing col-md-* col-lg-* col-sm-*

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question