So you are both right. Nothing works. I'm going for pure CSS overwrites and having no luck.Helpful 0 Brandon Arnold almost 3 years ago Seems to be working over here. As usual, a link would be helpful. this content
Just use the type of path you are more comfortable with The last time I used an absolute path to specify the url in an include(), I think I was still The other possibility is that there is some kind of problem loading the image. give display:block to it and also add some text inside the tag and the see the result. polyhedra 2012-12-21 16:34:10 UTC #11 It is importent to write CSS corectly.1) Write the CSS like this background: url(/img/slogan.png) 75px 50% no-repeat; Here is how to use the background propertie 2)
Some browsers might let you put a background in a span, but not all will (perhaps older versions of IE). share|improve this answer answered Jan 27 '14 at 6:56 Frankenscarf 51938 Will this work, if img name has a space within it? –Anup Jan 27 '14 at 7:06 How do I make an alien technology feel alien? asked 5 years ago viewed 9267 times active 2 years ago Upcoming Events 2016 Community Moderator Election ends in 10 days Related 2354Set cellpadding and cellspacing in CSS?1032Convert HTML + CSS
Debbie system 2011-12-04 02:52:06 UTC #16 [ot] DoubleDee said: And ABSOLUTE paths seem to work better for PHP includes, especially when the include is being used by different files in different Force browser to download latest CSS file Build me a brick wall! recalcitrant ron ralphm 2012-12-21 10:59:33 UTC #10 Yes, you have a larger view of it than I do, but meh, I claim to be only the messenger here. :lol: I guess Css Background Image Not Loading Browse other questions tagged css or ask your own question.
Thanks, Debbie system 2011-12-03 23:02:28 UTC #2 try [B]/[/B]components/body_header.inc.php'); ?> DoubleDee 2011-12-03 23:11:38 UTC #3 webdev1958 said: try
That won't work with PHP the way If this works, then at least you will then know that your absolute path is specified incorrectly or there is something else going on. Would the members of an online imageboard (or any community) be able to build a post-apocalytic society upon their reputation? http://stackoverflow.com/questions/37504556/background-image-css-not-working Does 'noel' really have its origin in Latin? "president-elect" grammatically correct?
How to find the file where a bash function is defined? Css Background Image Not Showing Up From what I have learned, RELATIVE paths seem to work much better wuth things like HTML src. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed MOD James Barnett Front End Web Development Treehouse Moderator 35,728 Points James Barnett James Barnett Front End Web Development Treehouse Moderator 35,728 Points over 3 years ago This is an elementary