html - CSS - element to not to split and move down -


i making website have problem elements. default position - http://gyazo.com/43fb8851f0b98f0461c05e13fe90382f (seems ok me). when website's width smaller, happens - http://gyazo.com/27d02e101bcb051faa9c1ab594a8d54a - elements split , in 2 lines , of them close line above them. cannot solve problem. please me? :)

first in blue container try use overflow:hidden; in class. try give margin-top:10px; inputs.

but in opinion must use media querys set better style elements.

to use media querys add <meta name="viewport" content="width=device-width"> in head.

than in css add media querys desired: this

@media screen , (max-width: 600px) { input {     width:100%; }} 

this media query change attributes input when viewport width under 600px. try


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -