CSS inline style question
-
Hi everybody
I hope someone can give me some pointers here.
I use Slidepress in WordPress to publish content on my site through SlideshowPro, which is a flash gallery. Slidepress includes an option to display a message in browsers without flash or java script. It says one can “Display custom html content” in a box.
The default html content in the box is:
<p>This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.</p>I am trying to insert a background image (or just an image) together with the message.
The box accepts inline css. For instance:
<p style="background: blue; color: white;">This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.</p>…will make one line of white text against a blue background on that line.
So I thought that I need to expand the element and added width:950px;height:633px to the inline style. And sure enough, the blue background then covered the container on the site (inside the 1px border).
But no image appears when I add it. Perhaps I do it wrong? I’ve tried so many ways:
background: url('.get_bloginfo('template_url').'/images/marasunsetbgr.jpgbackground-image (rest as above)I’ve also tried simpler links to the image, like
url(/images/marasunsetbgr.jpg)But nothing works.
Can someone assist – could it be that the box is limited to the type of html/css it accepts or am I simply linking to the image incorrectly?
The image is located in the “images” folder of my template’s folder.
Thanks for any help
/p
The topic ‘CSS inline style question’ is closed to new replies.