How i can adjust the all elements that web page has?


Tags: css

Problem :

I have a web page, and when I am zooming, all the elements that are there in the page move.

How do I modify my CSS file in order to fix this issue?



Solution :

When you zoom the page using: CTRL+ OR CTRL- your browser is changing the layout of your page.

The is no way in JS to capture this zoom event , the only thing you can do it to catch the resize event and "fix" your page layout there.


    CSS Howto..

    how to show limited text in css [closed]

    how to access the class css properties from an attribute directive associated with the same element

    How do I increase the height of a menu divider in a navigation?

    How to make background image go in the “background” using CSS/HTML

    How to make display:flex work for responsiveness - Bootstrap?

    how can I center this menu with CSS

    How do I centralize an ordered list?

    How to make an equal distance between elements footer?

    Button element styled with CSS is not showing the background-image in IE6

    How to do this kind of Button in CSS?

    How do I add another tab using CSS3? Noy Hadar

    How to add your customise arrows in slick slider JS using CSS

    How does floating and clearing on the same element work?

    How to indent text in a select drop down menu using CSS

    Responsive CSS, How to make clock maintain position with image on resize

    How to centre text as CSS content attribute vertically and horizontally?

    css hover : aligning on bottom: how to align on top?

    CSS: How do I centre an element relative to its parent while right-aligning its sibling?

    How can I increase input text elements' width via CSS?

    How do i select only one column when hovering over it in a drop down jQuery menu?

    how to change height of div to covered the text area (CSS)

    How to control dojo widget classes, or how to get fine-grained control of style

    How to apply inverse text mask with CSS

    How to create a sub folder on Page?

    How does the DiggBar work?

    how to take common factors out from css where it is separated by comma (,) [duplicate]

    How to align a menu bar using css and html? [closed]

    How to achieve “paper-like” background effect? [closed]

    how to validate IE 7/8 CSS hacks?

    how to stop css hover out with a conditional