代码改变世界

CSS:区分IE版本的三个方法

2011-07-25 15:34 by youxin, 580 阅读, 0 推荐, 收藏, 编辑
摘要:As much as we don't like to deal with the IE bugs, we still have to face it because your boss and visitors are still using Explorer. It gets frustrating when different versions of Explorer displays web pages differently due to the inconsistent rendering engine. We typically use IE conditional co 阅读全文

Sliding Photograph Galleries

2011-07-25 14:24 by youxin, 174 阅读, 0 推荐, 收藏, 编辑
摘要:InformationThis gallery is my simplest yet. It is just an unordered list of images that are normally compressed vertically (reduction 8:1). When you hover over one of these compressed images it expands to full size. It is based on my sliding menu system and adapted to use images. No thumbnails are r 阅读全文

基数等比,确定进制

2011-05-22 19:57 by youxin, 409 阅读, 0 推荐, 收藏, 编辑
摘要:问题描述6*9 = 42 对于十进制来说是错误的,但是对于13进制来说是正确的。即, 6(13) * 9(13) = 42(13),而 42(13) = 4 * 131 + 2 * 130 = 54(10)。你的任务是写一段程序读入三个整数p、q和 r,然后确定一个进制 B(2 2 #include 3 4 long b2ten(char*x,int b){ 5 int ret=0,i; 6 int len=strlen(x); 7 for(i=0;i=b) return-1;10 ret*=b;11 ret+=x[i]-'0';12 ... 阅读全文
上一页 1 ··· 265 266 267 268 269