The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I need help to find a way in a template to use an if conditional to cause a different image to come up depending on the style sheet or a way to tie the image into the css i can provide the css file and code for the image if someone is able to do it
|
|
#2
|
|||
|
|||
|
An easy way would be to display the image as the background of the div like this....
css... HTML Code:
.myimagediv{
background:url(images/mypic.png);
width:300px;
height:100px;
}
HTML Code:
<div class ='myimagediv'> </div> |
|
#3
|
|||
|
|||
|
Not sure what kind of image you are talking about, but you can set the directory for images on each style.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|