css的问题,如何使字体大一点???

xmsunny 2003-09-11 05:11:32

function blu(){
if(style.backgroundColor!='#E3CEE0'){
style.color="#6699CC"
style.border="1 solid #E3CEE0"
style.backgroundColor='#E3CEE0'
}
这个函数没有改变字体,如果要改变字体应该怎么办???急!!!
...全文
51 12 打赏 收藏 转发到动态 举报
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
caohai 2003-09-13
  • 打赏
  • 举报
回复
<style>
a {font-size:9pt}
body {font-size:9pt}
td {font-size:9pt}
table {font-size:9pt}
font {font-size:9pt}
a:link{color:#000000; text-decoration: none}
a:visited{color:#000000; text-decoration: none}
a:hover{color:#000000; font-style:bold; text-decoration: underline}
.white { font: 9pt/12pt "宋体" line-height: 14pt;color:#ffffff;text-decoration:none}
.white a:link{color:#ffffff;text-decoration:none}
.white a:visited{color:#ffffff;text-decoration:none}
.white a:hover{color:#000000;text-decoration:underline}
.10p { font: 10.5pt "宋体"}
</style>
把这个 换成你那个看看 行不行
Yssss1980 2003-09-13
  • 打赏
  • 举报
回复
楼主注意学习自己查资料
樟树林的世界 2003-09-13
  • 打赏
  • 举报
回复
function blu(){
if(style.backgroundColor!='#E3CEE0'){
style.color="#6699CC";
style.border="1 solid #E3CEE0";
style.backgroundColor='#E3CEE0';

style.fontSize="100px";

}
balloy 2003-09-12
  • 打赏
  • 举报
回复
style.fontSize='20pt'

css中属性都有下划线,转换到js中使用时,都改为单词首字母大写(但第一个字母小写)
如:

margin-left -> marginLeft
background-color -> backgroundColor

yzwxjun 2003-09-12
  • 打赏
  • 举报
回复
style.font-size='20pt'
xmsunny 2003-09-11
  • 打赏
  • 举报
回复
帮忙呀,为什么不行呀!
xmsunny 2003-09-11
  • 打赏
  • 举报
回复
怎么办呀!大家帮帮忙吧!
xmsunny 2003-09-11
  • 打赏
  • 举报
回复
能不能具体一点,我对样子一点都不懂呀,帮帮忙吧,分如果不够的话可以加
shadesert 2003-09-11
  • 打赏
  • 举报
回复
那你就把要改的作为对象加上去阿
xmsunny 2003-09-11
  • 打赏
  • 举报
回复
不行呀,提示缺少对象呀
tsstudio 2003-09-11
  • 打赏
  • 举报
回复
style.font-size=20pt;
试试这个行不行,记得把分全给我啊
xmsunny 2003-09-11
  • 打赏
  • 举报
回复
急!!!啊,怎么没人回答呀,

61,112

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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