简体   繁体   English

如何在Visual Studio中引用CSS背景图像?

[英]How To Refer To CSS Background Image in Visual Studio?

What is the exact URL for me to get an image I pasted on the "Styles" directory itself? 我要获得粘贴到“样式”目录本身上的图像的确切URL是什么? The file's name is "Header.jpg", in the directory where the default master site's css is also located. 该文件的名称是“ Header.jpg”,位于默认主站点css所在的目录中。

Drag the image into the file where you want the image reference. 将图像拖到要引用图像的文件中。 Visual Studio will create the string for you. Visual Studio将为您创建字符串。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何引用添加到Visual Studio项目的json文件 - How to refer to json file added to Visual Studio project 如何在MS Visual Studio单元测试中引用数据源目录? - How to refer to the datasource directory in MS Visual Studio unit test? 如何在Visual Studio项目C#中引用包含的文件 - How to refer to included file inside a visual studio project c# 请参考CSS链接以及其他与Visual Studio c#一起使用的简单样式样式 - please refer links for CSS and other simple styling ways used with Visual Studio c# 如何在内部使用IronPython引用自包含的C#类库项目(Visual Studio 2010) - How to refer self-contained C# class library project with IronPython inside (Visual Studio 2010) Visual Studio 2010:如何引用具有第三方依赖性的C#.Net类库项目 - Visual Studio 2010: How refer to a C# .Net class library project with third part dependencies 如何从Visual Studio将图像插入数据库 - How to insert image into database from Visual Studio 如何在Visual Studio中将图像插入图像数组? - How to insert images into image array in visual studio? 如何在Visual Studio中以特定方向加载图像? - How to load image in specific orientation in Visual Studio? 如何获得visual studio文本编辑器的背景颜色? - How can I get visual studio text editor background colour?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM