Z-Index无样式表

Z-Index无样式表

问题描述:

您可以为HTML中的图片设置Z-Index,而无需编写或嵌入样式表?我上传一些内容到网络论坛,我需要能够在图像的顶部放置一些文本,格式化在表格内,但图像只是被推开的方式。没有办法发送回。我一直在对HTML本身进行细微的修改,但我一直在试图避免它,因为基于GUI的编辑器往往添加了很多额外的填充到HTML,并使它很容易阅读。

Can you set the Z-Index for an image in HTML without writing or embedding a style sheet? I am uploading some content to a web forum and I need to be able to put some text on top of an image, formatted inside of a table, but the image just gets pushed out of the way. There is no way to "send to back". I have been making minor changes to the HTML itself, but I have been trying to avoid it as the GUI based editor tends to add a lot of extra filler to the HTML and makes it aweful to read.

你的意思是一个内联样式?所以像

You mean like an inline style? So someting like

<img src="http://path/to/img/" style="position: absolute; z-index: 3" />