如何通过CSS设置上标?_html/css_WEB-ITnose
Jun 21, 2016 am 09:01 AM 我想通过css对class="abc" 的td 里面的文字内容设置上标,上标为2.jpg,我该怎么写呢?
大神们!帮帮我把。谢谢!
回复讨论(解决方案)
.abc {
vertical-align: super;
}
哥,那我怎么确定上标是2.jpg的图片呢?
比如说我的代码是这样的:
我要在“我爱北京”上面加一个2.jpg的上标。我仅仅加那段CSS不够吧?不能确定上标是2.jpg图片啊。谢谢!!!!
如果2.jpg和CSS文件都在同一级目录下,谢谢!!

或者
我爱北京
学会了,谢谢大神!!!

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Difficulty in updating caching of official account web pages: How to avoid the old cache affecting the user experience after version update?

How do I use HTML5 form validation attributes to validate user input?

How to efficiently add stroke effects to PNG images on web pages?

What is the purpose of the <iframe> tag? What are the security considerations when using it?

What is the purpose of the <datalist> element?

What is the purpose of the <meter> element?

What are the best practices for cross-browser compatibility in HTML5?

What is the purpose of the <progress> element?
