html - CSS Bottom Positioning -
so, have this:
.cmon { background-repeat: repeat-x; background-image: url("line2.png"); position:absolute; bottom:0px; }
what should do, put image (line in case) on bottom of page, understand, , repeat it. put on bottom, doesn't repeat, knows what's problem? how looks when code on: http://goolag.pw/temptest.html also, in menu (top right corner) image doesn't show up, nor on bottom. more happy if knows whats problem. (sorry if links not allowed here, there no commercials on web, it's show what's problem)
to position background images should use background-position
property:
.cmon { background-repeat: repeat-x; background-image: url("line2.png"); background-position: bottom; }
the
background-position
css property sets initial position, relative background position layer definedbackground-origin
each defined background image.
you'll need ensure element has height
, width
, however, background images not content , not affect size of element.
Comments
Post a Comment