Screen Size changes when i hover an element

In my code i got a header , with a hover effect which make it double in size , the issue is whenever i hover on the element background width of the whole website increases as well , how i can change the code to make the background width (body) fixed , i tried the max-width :100% property and it didnt solve the issue .

Hello freesudani,

If hover on element makes it double in size - it will also push out the container.
Unless the element is position: absolute or float or something similar

You need to elaborate more - can you supply css for hover effect and possible the markup.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.