English 中文(简体)
文件,如背井离乡诉文件。
原标题:document.body.style.backgroundImage vs document.body.background

两者之间有什么区别?

最佳回答

document.who.background refer to the deprecated background Depende of the body tag

http://www.w3schools.com/TAGS/att_one_background.asp

document.上.上.上背井平线 系指中央安全局的门面财产。 它相当于......。

body { 
  background-image:url( paper.gif );
}

使用后者:-

问题回答

除已删除的<代码>文件外,还有第三份重要的条目,即:背井下,以及用<条码>文件更改中央支助事务背景形象的方法。 您可使用<条码>文件,如背井离乡来改变所有背景特性,包括彩色形象和重复:

document.body.style.background = "red";

或者,设定不止一种财产

document.body.style.background="#0000FF url(example.jpg) repeat-x";

以上是背景图谱,是背景图象,为这种形象横向重复。

这与社会保障局相似:

body {
    background:#0000FF url( example.jpg ) repeat-x; }

(此处略加info about document.who.ets.background 我确信,在其他地方,信息更加完整,但......

www.un.org/spanish/ga/president 你们没有使用社会保障局。

http://www.un.org。 你们正在使用安全局。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签