网页继续使用默认的CSS样式表设置 [英] web page keeps using default CSS style sheet setting

查看:64
本文介绍了网页继续使用默认的CSS样式表设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ASP网页,附有一个样式表。这是一个新闻页面,它是从一个单独的管理部分添加的。新闻添加部分确实有一个富文本编辑器来更改文本或格式化它。我的问题是这个。


CSS样式表设置为显示正文文本,如下所示。

I have an ASP web page which has a style sheet attached. It is a news page which is added from a separate admin section. The news adding section does have a rich text editor to change text or format it.. My problem is this.

The CSS stylesheet is set up to show the body text as below.

展开 | 选择 < span class =codeDivider> | Wrap | 行号

推荐答案

是的,CSS遵循级联(层叠样式表)和层次结构。


你能做的就是这个。假设文本在< p>内。您可以为该标记指定一个名为id的唯一名称。我们称之为style3。所以:

< p id =" style3">


现在,在你的CSS中,你可以说:
Yes, CSS follows a cascade (Cascading Style Sheet) and a hierarchy.

What you can do is this. Say the text is inside a <p>. You can give that tag a unique name called an ''id''. Let''s call it "style3". So:
<p id="style3">

Now, in your css, you can say:
展开 | 选择 | Wrap | 行号



是的,CSS遵循级联(层叠样式表)和层次结构。


你能做的就是这个。假设文本在< p>内。您可以为该标记指定一个名为id的唯一名称。我们称之为style3。所以:

< p id =" style3">


现在,在你的CSS中,你可以说:
Yes, CSS follows a cascade (Cascading Style Sheet) and a hierarchy.

What you can do is this. Say the text is inside a <p>. You can give that tag a unique name called an ''id''. Let''s call it "style3". So:
<p id="style3">

Now, in your css, you can say:
展开 | 选择 | Wrap | 行号


我试过这个,它没有用,
I tried this, and it didn''t work,
展开 | 选择 | 换行 | 行号


这篇关于网页继续使用默认的CSS样式表设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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