March 7, 200917 yr I want a little image in the bottom right corner of a div. I've tried .backgroundimage { background-attachment: fixed; background-image: url(images/test.jpg); background-repeat: no-repeat; background-position:bottom right; height: 110px; width: 101px; position:relative; top: 0px; visibility: visible; left: 0px; } and put <div class="backgroundimage"></div> It creates the space for the image, but won't display it. What's going wrong? Thanks, James.
March 7, 200917 yr Failing that make sure images/test.jpg is the correct path. IS your images folder in the same folder of your css file? (the filepaths are relative to the css, not the html file).
March 7, 200917 yr Author It still doesn't like it I put and still nothing. Checked the URL and it's valid etc, and I can't see anything else that would be stopping it from showing. EDIT: Never mind got it to work.. seemed to be the element background-attachment: fixed; that was stopping it from displaying... Thanks guys
March 7, 200917 yr Author The path was also wrong in addition to the dodgy element bocaj. Ok so it's displaying now, but it doesn't want to position how I tell it to... .background { background-image: url(../images/test.jpg); background-position: bottom right; background-repeat: no-repeat; height: 110px; width: 111px; position: relative; visibility: visible; top: 0px; left: 0px; } Gah
Create an account or sign in to comment