_password = [[UITextField alloc]init]; _password.font = k18Font; _password.attributedPlaceholder = [[NSAttributedString alloc]initWithString:@" 密码...
分类:
其他好文 时间:
2014-08-05 18:45:49
阅读次数:
244
GDI+的基本概念GDI+的常用对象,包括Graphics、Font、Brush、Pen等对象的创建和使用常用图形的绘制Color结构、Point结构和Rectangle结构1.GDI+的概念GDI+是GDI(Graphics Device Interface,图形设备接口)的改进产品。2.GDI+...
分类:
其他好文 时间:
2014-08-05 18:19:39
阅读次数:
239
转至:https://github.com/CSSLint/csslint/wiki/Bulletproof-font-faceWhen using @font-face to declare multiple font types for cross browser compatibility, ...
分类:
Web程序 时间:
2014-08-05 10:49:39
阅读次数:
700
转至:W3CPLUS 网址:http://www.w3cplus.com/content/css3-font-face@font-face是CSS3中的一个模块,他主要是把自己定义的Web字体嵌入到你的网页中,随着@font-face模块的出现,我们在Web的开发中使用字体不怕只能使用Web安全字体...
分类:
Web程序 时间:
2014-08-05 10:45:49
阅读次数:
387
第一部分?normalize.css 用于解决不同浏览器下显示不一致的问题 8至12行 html?{
??font-family:?sans-serif;????/*?设置默认字体为?sans-serif?*/
??-webkit-text-size-adjust:?100%;????/*?...
分类:
其他好文 时间:
2014-08-05 00:52:48
阅读次数:
331
何为跨域访问,为什么会有跨域限制?一切还得从浏览器的同源策略说起。 同源策略:是浏览器最核心也是最基本的安全功能,如果缺少了同源策略,则浏览器的正常功能可能会受到影响,可以说Web是构建在同源策略基础之上的,浏览器只是针对同源策略的一种实现。 浏览器的同源策略:限制了来自不同源的“document....
分类:
其他好文 时间:
2014-08-05 00:26:18
阅读次数:
235
/* CSS Document */*{margin:0;padding:0; }body{font-size:12px;font-family: Arial,SimSun,"宋体";color:#333; background:#960400;}h1,h2,h3,h4,h5,h6{ font-si...
分类:
Web程序 时间:
2014-08-04 20:50:27
阅读次数:
226
- (float)width:(NSString *)str font:(UIFont *)font{ NSDictionary *attribute = @{NSFontAttributeName:font}; CGSize size = [str boundingRectWi...
分类:
移动开发 时间:
2014-08-04 17:17:27
阅读次数:
208
非托管资 源:ApplicationContext,Brush,Component,ComponentDesigner,Container,Context,Cursor,FileStream,Font,Icon,Image,Matrix,Object,OdbcDataReader,OleDBData...
分类:
编程语言 时间:
2014-08-03 23:04:56
阅读次数:
416
点击Preferences->SettingsUser,修改配置文件如下:{
"color_scheme":"Packages/ColorScheme-Default/Monokai.tmTheme",
"fallback_encoding":"UTF-8",
"font_size":14,
"tab_size":2,
"translate_tabs_to_spaces":true,
"word_wrap":true,
"trim_trailing_white_spa..
分类:
其他好文 时间:
2014-08-01 20:08:13
阅读次数:
227