背景图片 [英] background image
问题描述
大家好,
我通过样式表使用背景图片。
我使用过这段代码:background-图像:网址(" /images/tile.gif"); (
我认为是正确的)
图像不会显示,路径,文件名等等,
一切都结账好了。
有人知道可能导致这种情况的原因吗?
Erik Schulp
www.sgtclog.nl
eschulp @ -houjerotzooimaar-home.nl
-让所有希望在其他星球上有智慧的生命,
cuz''这里地球,还有bugger! - * Monty Python *
In< 34 ************* *******************@4ax.com> Erik Schulp< es ***** @ NOSPAM-home.nl>写道:
我使用过这段代码:background-image:url(" /image/tile.gif");
>
抛弃报价。也许在image:之间添加一个空格。和url。以下
对我有用:
background-image:url( http://localhost/rickshaw/graphics/logoback.gif);
- 丹
-
免费脚本使网页和数据库编程更容易
http://www.analysisandsolutions.com/software/
THEANALYSISANDSOLUTIO NSCOMPANY
4015 7th Ave#4AJ,Brooklyn NY v:718- 854-0335 f:718-854-0409
* Erik Schulp *< es ***** @ NOSPAM-home.nl>:
background-image:url(" /image/tile.gif");
这是正确的语法。要告诉你的不仅仅是那个需要看到更多的代码(CSS和可能还有HTML),更好的是给出URL和其中
浏览器[s]图像没有出现。
-
Hitchhiker的银河系指南:总结:这是一个很好的已知的事实
那些必须要统治人的人,事实上,那些最不适合这样做的人。总结一下总结:任何能够获得自己的人都可以获得总统不应该被允许完成这项工作。总结一下总结的
摘要:人们是个问题。
Christoph Paeper写道:
* Erik Schulp *< es ***** @ NOSPAM-home.nl>:
background-image:url(" /images/tile.gif" ;);
这是正确的语法。要告诉你的不仅仅是那个需要查看更多的代码(CSS和可能还有HTML),更好的是提供
URL以及在哪个浏览器中图像不会显示。
没有任何其他上下文; CSS中的URL引用,
虽然正确,但可能会混淆一些浏览器。
-
Google Blogoscoped
http://blog.outer-court.com
Hi all,
I am using a background image via a stylsheet.
I''ve used this code: background-image:url("/images/tile.gif"); (which
I think is correct)
The image doesn''t show up however, the path, the filename etc etc,
everything checks out ok.
Anybody an idea what might cause this ?
Erik Schulp
www.sgtclog.nl
eschulp@-houjerotzooimaar-home.nl
-Let''s all hope there is intelligent life on other planets,
cuz'' here on earth, there is bugger all!- *Monty Python*
In <34********************************@4ax.com> Erik Schulp <es*****@NOSPAM-home.nl> writes:
I''ve used this code: background-image:url("/images/tile.gif");
Ditch the quotes. Maybe add a space between "image:" and "url." The
following works for me:
background-image: url(http://localhost/rickshaw/graphics/logoback.gif);
--Dan
--
FREE scripts that make web and database programming easier
http://www.analysisandsolutions.com/software/
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7th Ave #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409
*Erik Schulp* <es*****@NOSPAM-home.nl>:
background-image:url("/images/tile.gif");
That''s correct syntax. To tell you more than that one needs to see more of
the code (CSS and probably HTML also), better yet give the URL and in which
browser[s] the image doesn''t show up.
--
The Hitchhiker''s Guide to the Galaxy: "To summarize: It is a well-known fact
that those people who must want to rule people are, ipso facto, those least
suited to do it. To summarize the summary: Anyone capable of getting themselves
made President should by no means be allowed to do the job. To summarize the
summary of the summary: People are a problem."
Christoph Paeper wrote:
*Erik Schulp* <es*****@NOSPAM-home.nl>:
background-image:url("/images/tile.gif");
That''s correct syntax. To tell you more than that one needs to see
more of the code (CSS and probably HTML also), better yet give the
URL and in which browser[s] the image doesn''t show up.
Without any other context than above; quotations around URLs in CSS,
though correct, can confuse some browsers.
--
Google Blogoscoped
http://blog.outer-court.com
这篇关于背景图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!