博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
html没有旁边标题框,html-在di中给出边框标题
阅读量:4363 次
发布时间:2019-06-07

本文共 812 字,大约阅读时间需要 2 分钟。

html-在di中给出边框标题

我可以在HTML中这样做吗?

UoorI.png

我想在div上添加边框标题(此图中为“常规信息”)。可以吗? 怎么做?

注意:

该图像不是HTML页面的图像,而是Java应用程序的图像。

Harry Joy asked 2020-07-13T13:47:16Z

4个解决方案

53 votes

General Information

Change Password To:
Confirm Password:

Nathan answered 2020-07-13T13:47:30Z

16 votes

该图像可能使用的是fieldset标签,而不是div,在fieldset内部,您可以使用标签legend,它将自动定位在此处。

General Information

amosrivera answered 2020-07-13T13:47:51Z

2 votes

Please Enter Your Name

First Name:
Last Name:

这将给您这样的输出。

ADHKH.jpg

Rudrik answered 2020-07-13T13:48:13Z

1 votes

圆形边框与背景色。

.sample

{

border:2px solid #a1a1a1;

padding:10px 40px;

background:#dddddd;

width:300px;

border-radius:25px;

}

The border-radius property allows you to add rounded corners to elements.

Please Enter Your Name

First Name:
Last Name:
First Name:
Last Name:

这将给出这样的输出,

RloDy.png

Kannan Arumugam answered 2020-07-13T13:48:37Z

转载地址:http://pekfs.baihongyu.com/

你可能感兴趣的文章
java.util.zip.ZipException: duplicate entry(重复依赖多版本的类库)
查看>>
Run MVC in older version of IIS
查看>>
Ajax 监听
查看>>
隐藏"站长统计"图标
查看>>
Oracle select 中case 的使用以及使用decode替换case
查看>>
创建一个dynamics 365 CRM online plugin (十二) - Asynchronous Plugins
查看>>
Eclipse 常用快捷键 (动画讲解)
查看>>
233 Matrix(矩阵快速幂+思维)
查看>>
Leetcode-Unique Binary Search Trees II
查看>>
Centos7系统下安装Docker
查看>>
PostgreSQL 序列(SEQUENCE)
查看>>
Missing Number
查看>>
Ionic3 demo TallyBook 实例3
查看>>
laravel服务容器
查看>>
Entity Framework的查询
查看>>
ZH奶酪:Python按行读取文件
查看>>
07-使用循环进行遍历数组(运算符)
查看>>
控件布局通用解决方案
查看>>
scala流程控制语句以及方法和函数
查看>>
MySQL的sql_mode模式
查看>>