本文介绍了我疯了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个标记相同的页面,但不想以这样的方式显示



正确的页面:



< p>旅行费用包括以下入场费:< br>

< ul>

< li>成人和成人和老年人之旅(62岁以上),

混合:每人5美元

< li>仅限老年人之旅(超过年龄62岁):每人3美元

< li>年轻人(12岁以上)和学校团体成绩之旅

< li> K-12:每人2美元person

< li>儿童之旅(12岁以下):每名学生2美元

< / ul>

< / p> ;

错误页面:



< p>旅行费用包括以下入场费:< br>

< ul>

< li>成人和成人之旅老年人(62岁以上),混合:$ 5
每人b $ b

< li>仅限老年人游览(超过62岁):每人3美元

< li>年轻人(12岁以上)和学校团体成绩之旅

< li> K-12:每人2美元

< li> ;儿童之旅(12岁以下):每名学生2美元

< / ul>

< / p>

列表项只是没有正确显示。文本应该是

格式化为sans,它只是想选择浏览器默认值。


css snip:

P

{

font-family:Verdana;

font-size:10px;

line-height:12px;

颜色:#666666

}

ul {

margin-top:.5em;

margin-left:1em;

margin-bottom:1em;

}

ul li {

margin-left:.5em;

}


如果有人能朝正确的方向踢我,我将不胜感激。


JC

I have two pages that are marked up identically, but don''t want to
display that way.

The correct page:
http://www.ramart.org/05_visit_ram/hours.php

<p>Charges for tours include the following admission fees:<br>
<ul>
<li>Tours of Adults and Adults and Seniors (over age 62),
mixed: $5 per person
<li>Tours of Seniors only (over age 62): $3 per person
<li>Tours for Young Adults (over age 12) and School Groups Grades
<li>K-12: $2 per person
<li>Tours of Children (under age 12): $2 per student
</ul>
</p>
The incorrect page:
http://www.ramart.org/04_education/tours.php

<p>Charges for tours include the following admission fees:<br>
<ul>
<li>Tours of Adults and Adults and Seniors (over age 62), mixed: $5
per person
<li>Tours of Seniors only (over age 62): $3 per person
<li>Tours for Young Adults (over age 12) and School Groups Grades
<li>K-12: $2 per person
<li>Tours of Children (under age 12): $2 per student
</ul>
</p>
The list items are just not showing up correctly. The text should be
formatted as sans, and it just wants to pick browser defaults.

css snip:
P
{
font-family: Verdana;
font-size: 10px;
line-height: 12px;
color: #666666
}
ul {
margin-top: .5em;
margin-left: 1em;
margin-bottom: 1em;
}
ul li {
margin-left: .5em;
}

If anyone could KICK me in the right direction, I would appreciate it.

JC

推荐答案




这篇关于我疯了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 11:10