本文介绍了为C#WebBrowser控件创建水印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我找不到使用WebBrowser控件的HTML代码在C#中创建水印的HTML代码.我想要一个图像文件,尺寸为40x100 png,要淡入页面内容的后面.这可能成一定角度,也可能是平铺形式或在position:center.
尝试了来自不同站点的众多变体,但似乎没有任何效果.
I can''t find HTML code to create a watermark in C# using HTML code for the WebBrowser control. I want to have an image file, dimensions say 40x100 of png, to be faded behind the page''s contents. This could possibly be at an angle or in a tiled form or at position:center.
Tried numerous variations from different sites and nothing seems to work. Please help, if possible, can working code be posted?
推荐答案
body
{
background-image:url('YourImage.gif');
background-repeat:no-repeat;
background-position:right bottom;
}
这篇关于为C#WebBrowser控件创建水印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!