CSS命名规范

07月 19th, 2006

这段时间由于工作的需要对CSS的命名做了一些研究,主要是想让作出的文档等规范,更能让人看懂和读懂。如有错误或不妥之处,敬请指出。

DIV

CSS名称

说明

网站公用相关

Container div

#container

容器

Header or banner div

#header

页头部分

Main or global navigation div

#main-nav

主导航

Menu

#menu

菜单

Sub Menu

#submenu

子菜单

Left or right side columns

#sidebar-a, #sidebar-b

左边栏或右边栏

Main div

#main

页面主体

Content div

#content

内容部分

The main content area

#content-main

主要内容区域

Footer div

#footer

页脚部分

Tag

#tag

标签

Message

#msg #message

提示信息

Tips

#tips

小技巧

Vote

#vote

投票

Friend Link

#friendlink

友情连接

Title

#title

标题

Summary

#summary

摘要

Sub-navigation list

#sub-nav

二级导航

Search input

#search-input

搜索输入框

Search output

#search-output

搜索输出和搜索结果相似

Search

#search

搜索

Search results

#search-results

搜索结果

Copyright information

#copyright

版权信息

brand

#branding

商标

branding-logo

#branding-logo

LOGO

Site information

#siteinfo

网站信息

Copyright information etc.

#siteinfo-legal

法律声明

Designer or other credits

#siteinfo-credits

信誉

Join us

#joinus

加入我们

Partnership opportunities

#partner

合作伙伴

Services

#service

服务

Regsiter

#regsiter

注册

Status

#status

状态

电子贸易相关

Products

.products

产品

Products prices

.products-prices

产品价格

Products description

.products-description

产品描述

Products review

.products-review

产品评论

Editor’s review

.editor-review

编辑评论

New release

.news-release

最新产品

Publisher

.publisher

生产商

Screen shot

.screenshot

缩略图

FAQ

.faqs

常见问题

Keyword

.keyword

关键词

Blog

.blog

博客

Forum

.forum

论坛





Del.icio.us :

Web2.0 Workgroup

03月 10th, 2006

http://web20workgroup.com/

里面有很多的web2.0应用

Technorati : ,

从用户体验等角度,给创建Flash站点提出了一些合理的建议,从163转过来的文章供自己收藏。

Read the rest of this entry »

Ruby on Rails正在成为主流?Rails是什么?它要成为什么的主流?相信大部分的人有和我一样的疑问。

今天在Solidot上看到Ruby on Rails正在成为主流这则消息,说的是一个26岁的丹麦程序员开发的新型脚本语言Rails改变了Web开发世界,它的兴起对php、java发起了冲击。融合php和java的优点,使Web开发变得快速和简单。

目前正式发布了Rails 1.0,有兴趣的朋友可以去http://www.rubyonrails.org去了解一下,也可以读一读News.com采访David Heinemeier Hansson的文章。

Technorati : , ,
Del.icio.us :

alt属性和title属性

03月 2nd, 2006

当浏览器卖主扭曲了标准并且自顾自的不按规则去做一些事,他们可能会造成一些问题,或者至少产生了混淆。例子之一就是一些浏览器处理alt属性(一般会被错误的称作alt标签)的方式,比如拥有大量用户的Windows的IE浏览器。

Read the rest of this entry »