admin 发表于 2023-10-2 10:13:21

【广告系统】的容器开始标签和结束标签如何使用



【广告系统】的容器开始标签和结束标签如何使用【大部分情况不需要使用,正常在后台设置广告即可】


1、什么时候需要使用开始标签和结束标签?
当你需要将多个广告位的广告联排(在一行)显示的时候且该广告位的位置没有外层约束大小的时候(像在帖子内容内部显示联排,就不需要这个,因为他有帖子容器约束)

2、怎么使用?
比如你想在某个位置显示A、B两个广告位,一个是文字广告位,一个是图片广告位,那么需要再左边显示的广告位的开始标签填入以下代码:其中的960是网站显示的实际宽度,按需修改
<div style="width:960px;margin:auto;font-size:0px;">在右边的广告位结束标签填入如下代码
</div>3、注意事项
(1)、一定要在左边广告位的开始标签填入,结束标签不用填
(2)、右边广告位只需要填写结束标签,开始标签不用填写
(3)、顺序问题:后台调整顺序一定是左边的在右边的前面,且两个广告位顺序要靠在一起!

4、效果!
https://cdn.site114.cn/webtemplate/manage/uploads/20231005/FiXe1zcgRWwjoFUHgmr_rHu5dHPl.png

FrankGit 发表于 2025-5-21 20:24:15

-

Really and as I have not thought about it earlier

FrankGit 发表于 2025-5-22 10:03:56

-

I consider, that you are not right. I am assured. I suggest it to discuss.

FrankGit 发表于 2025-5-22 10:05:43

-

And where at you logic?

FrankGit 发表于 2025-5-23 04:31:13

-

I consider, that you are not right. Let's discuss. Write to me in PM.

FrankGit 发表于 2025-5-23 04:32:01

-

It is a pity, that now I can not express - I hurry up on job. But I will return - I will necessarily write that I think on this question.

FrankGit 发表于 2025-5-23 20:04:00

-

The authoritative answer, curiously...

FrankGit 发表于 2025-5-24 05:25:31

-

In my opinion. Your opinion is erroneous.

FrankGit 发表于 2025-5-24 05:26:37

-

This idea has become outdated

FrankGit 发表于 2025-5-24 08:19:04

-

this excellent phrase is necessary just by the way
页: [1] 2
查看完整版本: 【广告系统】的容器开始标签和结束标签如何使用