-(CGSize)checTheStringWithHight:(NSString *)theStr font:(float)font { CGFloat xxx; if (SCREEN_WIDTH>320) { xxx=15; }else{ xxx=10; } CGSize sixx= [theS ...
分类:
其他好文 时间:
2016-08-09 14:54:45
阅读次数:
159
一、区别 px是相对于显示器屏幕分辨率而言的。 em相对于浏览器的默认字体尺寸。 rem相对于HTML根元素。 二、使用 1、em 任意浏览器的默认字体高都是16px。所有未经调整的浏览器都符合: 1em=16px。那么12px=0.75em,10px=0.625em。 为了简化font-size的 ...
分类:
Web程序 时间:
2016-08-09 14:54:35
阅读次数:
200
Here We Go(relians) Again Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description The Gorelians are a warlike race that travel th ...
分类:
其他好文 时间:
2016-08-08 23:58:45
阅读次数:
554
今天,我开始学习了网站开发中HTML的部分内容,主要包括标签和表格。 body的属性:bgcolor,background,text,topmargin,bottomargin,leftmargin,rightmargin.格式控制字体font的属性:<font color="" face="" s ...
分类:
Web程序 时间:
2016-08-08 17:10:14
阅读次数:
219
1 # vim /etc/sysconfig/network-scripts/ifcfg-eth0 //<span style="font-size: 14px; color: #ff0000;">ifcfg-eth0是个变化的名字,设置时根据ip addr 命令出现的网络名字进行设定</span> ...
分类:
其他好文 时间:
2016-08-07 06:15:41
阅读次数:
224
1.font合写 font: font-style font-variant font-weight font-size/line-height font-family font: 风格 变形 加粗 字号/行高 字体系列 风格 变形 加粗 可以按照任意顺序书写 如果是normal可以不写 变形 fo ...
分类:
Web程序 时间:
2016-08-06 21:53:15
阅读次数:
157
当样式设定font-size<12px时,chrome浏览器里字体显示仍为12px;如font-size:11px; 但是chrome还是12px的大小,很不听话。今天我就遇到了这样的问题?网站产品分类块字体在IE9和FF下显示不正常,比预想的要小,在IE7\IE8\360\chrome里显示正常, ...
分类:
其他好文 时间:
2016-08-06 20:33:52
阅读次数:
245
Flight Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Recently, Shua Shua had a big quarrel with his GF. He is so upset ...
分类:
其他好文 时间:
2016-08-06 20:32:32
阅读次数:
448
Friend Chains Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description For a group of people, there is an idea that everyone is eq ...
分类:
其他好文 时间:
2016-08-06 20:31:42
阅读次数:
172
先上效果图: css代码: 1 h1{ 2 font-size: 50px; 3 font-family: Georgia; 4 } 5 h2{ 6 font-size: 30px; 7 } 8 #container{ 9 position:relative; 10 background-color ...
分类:
其他好文 时间:
2016-08-06 19:14:22
阅读次数:
238