html - CSS - Fixed percent size -


In CSS, if I set the width of an element to 50%, for example, when I change the size of the page, it will change,

Is there a way to set the width of elements to a certain percentage of the page, but make sure that this change will not occur when the page is resized?

set parent container to full position Like px

and set your layout % inside the container


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -