我们可以在标题类上获得div标签上的标签吗? [英] Can we get a label on div tag with headings class?

查看:83
本文介绍了我们可以在标题类上获得div标签上的标签吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



假设我有一个Div标签和类作为标题,它只是一条颜色和宽度的直线就像一英寸。我可以在该行上找到标签吗?

例如,当您登录时,它会在右上角显示名称。

同样我想在该行上显示一个名称像一英寸的宽度。

我不确定如果我困惑你们。但是我无法显示图像。

Hello guys,

Suppose I have a Div tag and class as Headings which is just a straight line filled with color and width is like an inch. Can I get a label on that line?
For example when you logged in, it shows name on top right corner .
Similarly I want a Name on that line which is like a width of one inch.
I am not sure If I confused you guys. But I cannot show an image.

推荐答案

这就是我做的事情

This is what I did
<div class="Headings"  align="center">
        Detailed View
        <span  style="float:none;color:white;"><asp:Label align="Right" ID="lblSTracking" runat="server" style="float:right;"></asp:Label></span>

        </div>





只是在div标签中使用了一个span



所以看起来好像



详细查看lblTracking#

在同一条线路上有适当的距离,以便人们了解这个号码的详细视图。



Just used a span in a div tag

So it looks like

Detailed View lblTracking#
on same line with proper distance so people understand detailed view of this number.


这篇关于我们可以在标题类上获得div标签上的标签吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆