关于博客CSS设计的问题~!

来源:百度知道 编辑:UC知道 时间:2024/06/09 04:10:52
如何把百度里面这个模版
http://hi.baidu.com/xln0623
的CSS弄的符合这个博客的模版啊
http://hexun.com/xln0623/default.html
功能上不能有变化啊,谢谢
如果有能做好的,分数直接加到最大啊~!谢谢啦~!

进入http://hi.baidu.com/xln0623
查看页面源代码找到
<link rel="stylesheet" type="text/css" href="/xln0623/css/item/24563d1ecf1b0ef41bd576f0.css">
<link rel="stylesheet" type="text/css" href="/space.css">
这些都是样式表。
把它们添加到另一个网页上
但是<link>元素的href属性要改成
http://hi.baidu.com/xln0623/css/item/24563d1ecf1b0ef41bd576f0.css

http://hi.baidu.com/space.css

一定要注意,http://hexun.com/xln0623/default.html
这一页上也必须包含有相应元素,例如

如果样式表定义了
td.c3t3{width:36%}
那么需要使用这个格式的<td>元素就必须要有属性class='c3t3'

所以,替换样式表是很麻烦