Is it possible to use SVG images as CSS background?

I need help with my background html?

  • Your Open QuestionShow me another » HTML background issue? Hi, I am designing a website and I am trying to get my background I designed show up as the the background on my page. The following is the code I am using: body { background-image: url (images/bg1.jpg); background-position: center; background-repeat: no-repeat; } Now it doesn't matter if there is an http:// there...but I took it out anyways...and I still have no background. What can be causing this? No matter what I do, it will not show my picture as the background! It is driving me nuts. I do not think my computer can take anymore abuse...I just want it to work! I am just using html, nothing fancy with css, the site does not require it. Any help would be GREAT! This is NOT CSS. This is HTML. I stated this already. I have already taken out the http:// (which you can use as full path) but still nothing. I need help here, I have been through all sorts of suggestions.

  • Answer:

    No, that is CSS, it is not HTML. You need the style tags and you need to put them in head. Is the image in the correct location?

SuperGir... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

Actually your block of code is a reference model in CSS. Not HTML. Send me a link of your problematic web page.

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.