| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1066 人关注过本帖
标题:字号大小的问题
只看楼主 加入收藏
tianshanfeihu
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2004-10-17
收藏
 问题点数:0 回复次数:6 
字号大小的问题
下面的代码.真是莫名其妙.根据样式的定义,字号应为24,反而比font部分的小...谁解释一下..
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--

body {
     font-size: 24px;
}
-->
</style>
</head>

<body>
<p><font size=18>伟大的中华人</font>民共和国万寿无疆!</p>
</body>
</html>
搜索更多相关主题的帖子: 字号 body head title 
2004-10-17 09:00
regedit
Rank: 5Rank: 5
等 级:贵宾
威 望:19
帖 子:950
专家分:0
注 册:2004-6-8
收藏
得分:0 

晕~

[此贴子已经被作者于2004-10-18 16:34:12编辑过]


最新作品:百货品牌商品资讯第一门户([url]http://www./[/url]),欢迎交流
2004-10-18 16:33
好学
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
帖 子:622
专家分:318
注 册:2004-5-4
收藏
得分:0 
24px和18当然不一样。“PX”
2004-10-18 16:42
情圣
Rank: 1
等 级:新手上路
帖 子:63
专家分:0
注 册:2004-10-6
收藏
得分:0 

这是就近原则

离 伟大的中华人  最近的是18所以

就是18啦比24小

<p><font size=18>伟大的中华人</font>民共和国万寿无疆!</p>


在静中寻找一切最美的感觉... /images/upphoto/306.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://bbs.glite./images/upphoto/306.jpg');}" onmousewheel="return imgzoom(this);" alt="" />
2004-11-01 16:22
youqiang0403
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2004-12-10
收藏
得分:0 
2004-12-10 22:03
youqiang0403
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2004-12-10
收藏
得分:0 
看来我自己得从最基础的学起来了,请问高手门谁能给我讲讲啊!!!
2004-12-10 22:04
情圣
Rank: 1
等 级:新手上路
帖 子:63
专家分:0
注 册:2004-10-6
收藏
得分:0 

推荐先看书

比较好一些

多实践

呵呵............


在静中寻找一切最美的感觉... /images/upphoto/306.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://bbs.glite./images/upphoto/306.jpg');}" onmousewheel="return imgzoom(this);" alt="" />
2004-12-10 23:35
快速回复:字号大小的问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.018512 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved