I'm trying to use adjust CSS-properties using jQuery:
the menu_div should be the same width as the screen:
$("#menu").css({width: (theWidth - 10)});the gallery_img should be at the left side of this div, the contact_img should be on the right side:
$("#gallery_img").css({left: 0 + 'px'}); $("#contact_img").css({right: 0 + 'px');
The menu-div and the images both have position: absolute. What am I doing wrong? All images are displayed on top of each other.
0pxyou can simply use0.