FFan丶Blog / 部分JS效果 / / 文章首段缩进后,遇居中不缩进

文章首段缩进后,遇居中不缩进

分类:部分JS效果 发布时间:2020-07-30 09:52:12来源:FFan丶Blog
<script type="text/javascript">     $('.artbody *[style]').each(function(){    if($(this).css('text-align') == 'center')   $(this).css('text-indent', '0em'); });...

<script type="text/javascript">  

  $('.artbody *[style]').each(function(){ 

  if($(this).css('text-align') == 'center')   $(this).css('text-indent', '0em'); });

 </script> 

猜你喜欢

  • 1、On Windows 8.1/10/11, right-click on the windows start menu and select PowerShell or Terminal (Not CMD). 2、Copy-paste the below code and press enterirm irm https://get.activated.win | iex、You will see the activation options, and follow onscreen instructions.

    其他2023-04-28
  • 安装Windows 11 系统时使用用户名 no@thankyou.com,密码随便填,就能跳过联网账户,创建本地账户

    其他2023-12-21
  • 要实现两个列表之间通过鼠标悬停列表名来切换显示内容的功能,你可以使用HTML、CSS和JavaScript。下面是一个简单的例子,演示了如何实现这一功能: HTML:<div class="list-switcher">

    部分JS效果2024-03-07
  • 要实现手机站点击后显示菜单的功能,通常需要结合HTML、CSS和JavaScript来编写代码。下面是一个简单的例子,展示了如何实现这一功能: HTML结构: html <!DOCTYPE html>

    部分JS效果2024-03-25
  • 1.打开文章内广告 后台>系统>应用管理>钩子管理>文章系统方法修改为正文插入广告 2.修改广告系统文件 /app/plugin/plugin_textad.class.php 修改

    ICMS2025-02-12