How to multiple background + gradient using CSS?

Just prepend the url of the image to each of your rules. background: url(someurl), -moz-linear-gradient(top,  rgba(248,246,247,1) 0%, rgba(248,246,247,0) 100%); /* FF3.6+ */ Alternatively, if you don’t feel like adding url(etc) to each of your rules, you could just specify a single background-image rule: background: -moz-linear-gradient(top,  rgba(248,246,247,1) 0%, rgba(248,246,247,0) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(248,246,247,1)),

How to center absolute div horizontally using CSS?

You need to set left: 0 and right: 0. This specifies how far to offset the margin edges from the sides of the window. Like ‘top’, but specifies how far a box’s right margin edge is offset to the [left/right] of the [right/left] edge of the box’s containing block. Note: The element must have a width smaller than the window or