Html 要解析的CSS选择器是什么<;风格>;标签?

Html 要解析的CSS选择器是什么<;风格>;标签?,html,qt,css-selectors,webkit,Html,Qt,Css Selectors,Webkit,我想获取HTML页面中存在的元素的内容。使用什么CSS选择器(选择器查询)来获取元素及其详细信息 QWebFram::findAllElements(/“需要在此处传递选择器查询”/) #边界img{ 边框:10px实心透明; 填充:15px; -webkit边框图像:url(http://www.w3schools.com/css/border.png)30轮;/*Safari 3.1-5*/ -o-border-image:url(http://www.w3schools.com/css/

我想获取HTML页面中存在的元素的内容。使用什么CSS选择器(选择器查询)来获取元素及其详细信息

QWebFram::findAllElements(/“需要在此处传递选择器查询”/)


#边界img{
边框:10px实心透明;
填充:15px;
-webkit边框图像:url(http://www.w3schools.com/css/border.png)30轮;/*Safari 3.1-5*/
-o-border-image:url(http://www.w3schools.com/css/border.png)30轮;/*歌剧11-12.1*/
边框图像:url(http://www.w3schools.com/css/border.png)30轮;
}
“边框图像”属性指定要用作元素周围边框的图像:

在这里,重复图像的中间部分以创建边框

以下是原始图像:

注意:Internet Explorer 10和早期版本不支持边框图像属性


style对您不起作用吗?使用“style”CSS选择器返回标记,我无法获取此标记的内部属性/valeus,即-webkit border image,-o-border-image等。
<!DOCTYPE html>
<html>
<head>
<style> 
#borderimg { 
    border: 10px solid transparent;
    padding: 15px;
    -webkit-border-image: url(http://www.w3schools.com/css/border.png) 30 round; /* Safari 3.1-5 */
    -o-border-image: url(http://www.w3schools.com/css/border.png) 30 round; /* Opera 11-12.1 */
    border-image: url(http://www.w3schools.com/css/border.png) 30 round;
}
</style>
</head>
<body>

<p>The border-image property specifies an image to be used as the border around an element:</p>
<p id="borderimg">Here, the middle sections of the image are repeated to create the border.</p>

<p>Here is the original image:</p>
<p><strong>Note:</strong> Internet Explorer 10, and earlier versions, do not support the border-image property.</p>

</body>
</html>