Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,818 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,121 people online right now. Registration is fast and FREE... Join Now!




background-image not appearing

 
Reply to this topicStart new topic

background-image not appearing

musya
18 Aug, 2008 - 09:42 PM
Post #1

D.I.C Regular
Group Icon

Joined: 25 Apr, 2007
Posts: 291



Thanked: 1 times
Dream Kudos: 50
My Contributions
I have an unusual problem...again.... but anyway now my background-image is not appearing, here is my code for my body tag
html

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="background-color: #cccccc; background-image: url('templates/<?php echo $this->template ?>/images/bg.jpg;'); background-repeat: repeat-x;">


BTW: The image path is correct i double checked it.

This post has been edited by musya: 18 Aug, 2008 - 09:45 PM
User is offlineProfile CardPM
+Quote Post

BetaWar
RE: Background-image Not Appearing
19 Aug, 2008 - 04:33 AM
Post #2

#include <soul.h>
Group Icon

Joined: 7 Sep, 2006
Posts: 2,027



Thanked: 82 times
Dream Kudos: 1175
My Contributions
I am not sure this is the cause, but you may want to try not using the single quotes wrapper, like so:

CODE
<body style="background: url(someimage.jpeg);">
^that works fine when I use it.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/3/08 02:55PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month