MyBB Community Forums

Full Version: how to call an image from one folder from css in another?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
how to call an image from one folder from css in another?

both  folders are same level
You have to give the relative path from the css file to the picture. Or an absolute url.
how do i do absolute, coz it wont work for me,

from the forum/ folder that is Toungue
What is in your initial css file ?
And what have put in your second file ?
/forum/css/

to /forum/img/
Please give me the entire lines from your CSS file. And tell me where is exactly located your picture, from the forum root
background:url(./img/link.png) center no-repeat;
I think it is the non-working line.
What is the working (initial) one ?
Where is your CSS file ?
Is it a MyBB one (edited from the ACP) ?
i am trying to integrate another script, how can i specify the relative link from /forums/?
Ok, so I re-ask questions:
- where is (physically) located your css file on your server ?
- where is (physically) located your image file on your server ?
- where is (physically) located your forum on your server ?
Pages: 1 2