html - How to make an image respect web page limits? -


i wanted in css javascript ok too.

i have png image use menu bar put on background image. theres part of image exceeds page right. want cut out of screen instead of strectching web page , making white line appear right of background image.

just in case css:

position:absolute; left:2%; width:120%; top:-220px; height:700px; z-index:6; 

any appreciated! thank you!

may set width 100% or less!


Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

java - gson parse items from comma-separated-value string within a json value -

Validation in java Error log in register -