兄弟姐妹请帮忙!谢谢了

jcl 2003-08-18 08:05:03
这样的代码为什么文字最终显示都在同一行,不是分行显示:



<?xml version="1.0" encoding="gb2312"?>
<?xml:stylesheet type="text/css" href="kk0.css"?>
<poem>
<name>望庐山瀑布</name>
<writer>唐.李白</writer>
<content>日照香炉升紫烟</content>
<content>遥看瀑布挂前川</content>
<content>飞流直下三千尺</content>
<content>疑是银河落九天</content>
</poem>
...全文
44 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
月光易水 2003-08-21
  • 打赏
  • 举报
回复
给各个节点样式增加属性:
display:block ;



:_)
jcl 2003-08-21
  • 打赏
  • 举报
回复
css如何处理,我的kk0.css是:

name {
font-family: "楷体_GB2312";
font-size: 34px;
font-style: normal;
font-weight: bold;
font-variant: normal;
color: red;
text-decoration: underline;
background-position: center;
text-align: center;

}
writer {
font-family: "楷体_GB2312";
font-size: 14px;
font-style: normal;
font-weight: bold;
font-variant: normal;
color: blue;
text-decoration: underline;
background-position: center;
text-align: center;

}
content {
font-family: "楷体_GB2312";
font-size: 20px;
font-style: normal;
font-weight: bold;
font-variant: normal;
color: black;
text-decoration: underline;
background-position: center;
text-align: center;
如何处理或修改?请帮忙!!!!!!
jy_1201 2003-08-18
  • 打赏
  • 举报
回复
CSS里要处理一下的
eworkers 2003-08-18
  • 打赏
  • 举报
回复
kk0.css的内容是不是有问题?

8,906

社区成员

发帖
与我相关
我的任务
社区描述
XML/XSL相关问题讨论专区
社区管理员
  • XML/XSL社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧