Css 环绕图像的文字无效
正如标题所说,试图使文本环绕图像。。。不知道为什么不起作用,目前有:Css 环绕图像的文字无效,css,xhtml,Css,Xhtml,正如标题所说,试图使文本环绕图像。。。不知道为什么不起作用,目前有: .flagimages{ position: relative; left:6px; top:200px; } .flagimages img{ background-image:url("imagelink.png"); background-repeat:no-repeat; position:absolute; float:right; right:20p
.flagimages{
position: relative;
left:6px;
top:200px;
}
.flagimages img{
background-image:url("imagelink.png");
background-repeat:no-repeat;
position:absolute;
float:right;
right:20px;
top:20px;
}
如果有人能告诉我哪里出了问题,请记住这是经过评估的工作=)这就是你要找的吗? CSS
位置:绝对位置代码>带浮动:右
?你能分享你的标记吗?你正在使用。flagimages img
在这个场景中img
是类还是HTML标记?试着把它用于这个css-->。flagimages{position:relative;margin left:6;margin top:200px;}。flagimages img{background image:url(“imagelink.png”);背景重复:无重复;位置:绝对;右侧:20px;顶部:20px;}nope=[]=[]不起作用@rohit azad
.container {
width: 500px;
height: 400px;
border: 1px solid black;
overflow: hidden;
}
.flagimages{
float: right;
}
.flagimages img{
width: 100px;
height: 80px;
}
.clearme {
clear: left;
}