sách gpt4 ai đã đi

Tôi cần phải đưa văn bản vào một Nó nằm bên trong một Div, Div này nằm bên trong một Div khác, Div này nằm bên trong một Div khác

In lại 作者:行者123 更新时间:2023-11-28 03:00:58 28 4
mua khóa gpt4 Nike

我需要将文本放在

中在一个 Div 中,在另一个 Div 中,在另一个 Div 中。所以这是它的样子:

 


#document
/TR/xhtml/DTD/xhtlm1-strict.dtd">




Change PIN







:






我希望我加载正确。我需要更改文本的部分在“div id="changePinDiv"”中,在那个 div 中有一个

。有我想改变的文字。任何时候我尝试通过 CSS 完成它都不需要。

这是我尝试过的

#changePinDiv:before{
content:"You must have an email address assigned to your account.";
font-size:10px;
font-weight:bold;
}

我试过了

#changePinDiv.h3:before{
content:"You must have an email address assigned to your account.";
font-size:10px;
font-weight:bold;
}

不知道还能做什么。任何帮助将非常感激。

1 Câu trả lời

如果您想通过 CSS 将内容注入(inject)您的

样式是这样的:

#changePinDiv h3:before{
content:"You must have an email address assigned to your account.";
font-size:10px;
font-weight:bold;
}

但这会产生一个

看起来像这样:

You must have an email address assigned to your account.Change Pin


放置此内容可能会赚更多 :after并包含一个空格:

#changePinDiv h3:after{
content:" You must have an email address assigned to your account.";
font-size:10px;
font-weight:bold;
}

查看此 fiddle

或者你可以让内容像这样换行:

#changePinDiv h3:after{
content:"You must have an email address assigned to your account.";
hiển thị: khối;
font-size:10px;
font-weight:bold;
}

Xem thêm đây

làm mới

由于它是一个 iframe,如果它托管在您的域中,您可以使用 jQuery 来执行如下操作:

$("iframe").contents().find("#changePinDiv h3").append(" You must have an email address assigned to your account.");

关于javascript - 我需要将文本放在一个 中,它位于一个 Div 中,该 Div 位于另一个 Div 中,该 Div 位于另一个 Div 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46204660/

28 4 0
Bài viết được đề xuất: javascript - 如何在 html 中将文本字段输入从 1234567891234 转换为 1234-56-789-1234?
Bài viết được đề xuất: c++ - Qt 在系统调用时崩溃?
Bài viết được đề xuất: c++ - 将信息传递给 Cocos2D-X 中的其他 CCScene?
Bài viết được đề xuất: html - Div 没有向左浮动
行者123
Hồ sơ cá nhân

Tôi là một lập trình viên xuất sắc, rất giỏi!

Nhận phiếu giảm giá Didi Taxi miễn phí
Mã giảm giá Didi Taxi
Các bài viết nóng hổi trên toàn bộ trang web
Giấy chứng nhận ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com