Posts by user2481 • 1 point
1 post
-
-5
votes10
answers68840
viewsA: How to make a <div> occupy the entire page width but leave a gap of a few pixels on each side in CSS?
var largura = $(window).width(); $('.div').css({width: largura - 10}); css { margin-left: 5px; margin-right: 5px; } …