If the position property of a div is "absolute" then 100% width will include margin.
To get the correct width, some script is required.
1 2 3 |
$('#projects .album').css({ width: $('#projects .slider').width() }); |
If blocks with fixed width still are scaled when changing browser width, need to remove "float" property: float:none