分类目录归档:Uncategorized

Focus on Me

Hello there~

I just can’t help complaining about this, although it doesn’t cause any usability problems. Now look at the picture shown below:

Mismatch between anchor focus and visual element boundary.
Mismatch between anchor focus and visual element boundary.

I think that’s enough for a web developer to realize what’s the problem and how does it happen, the bounding box of <a> is not of the same size of it’s parent <li>, whose background is actual image of a button that user would like to click.

All I want to do is apply following CSS style to <a>: ‘padding: 0; height: 100%’.

Now it looks better, at least in Chrome 40 and IE 11 on Windows 8.1…

Display Problem on Google Cloud Console

Sometimes, even a single line of CSS may collapse the whole world (not really)~

It’s about a month or two since I found this problem and reported it to Google. But it seems that they are too busy to take a look. Although it’s not a functional problem, I still feel uncomfortable with it. So let’s check out what was that and how to fix it~

First, you should have a web browser … ok, go to https://cloud.google.com/console and sign in with your Google Account if you have one.

Fire ‘Account settings’ from the left sidebar.

See the checkbox of the Email settings? That’s our big star today!

Google Cloud Console Account Settings
First glance at Account settings page of Google Cloud Console

If you read my Gmail from the picture above, feel free to contact me~

Now it’s a little bit tricky, your attentions please~ Un-maximize your browser or try to adjust it’s height till you see a scrollbar on the right side. Then all you have to do is … yes, scroll down, and tell me if you see the same thing below.

Display Problem of Google Cloud Console Account Settings
Display Problem of Google Cloud Console Account Settings

Aha, the checkbox alone stay like a ‘position: fixed;’ while the page scrolled down.

Now, if you are using a modern desktop web browser like Chrome, you can right click on that checkbox and ‘Inspect Element’ as you always do.

Inspecting Element on Checkbox
Inspecting Element on Checkbox

As you can see in the image above, the direct ancestor of <input type=”checkbox” />, the <div class=”checkbox” /> has a ‘position: absolute;’ set.

And my solution is: add a single line ‘position: relative;’ to the parent of that div, see screen shot below.

Modifying CSS on <div class="emailsetting" />
Modifying CSS on <div class=”emailsetting” /div>

How dare you Google guys made such a mistake …

That’s all folks!

Passive

看完了不知道是第几遍重播的《电视往事》,关掉电视,却关不住绵延的思绪。
《十六岁的花季》中的演员们早已在各自行业有所作为,同样告别十六岁多年的我却依旧迷茫、畏缩…
就像攒着技能点儿不敢分配,除了Passive的,其他技能都是偶然捡到的装备提供的…

生命的颜色

记得高三的时候参加“春雷杯”征文(每年一次,至少我所就读的中学的所有在校生都必须参加),以如上题目的一篇文章获得了全国三等奖。
现在想想,那时的我以及我的诉诸笔端的文字还是比较浪漫主义的,那篇文章的内容和形式都有华而不实之感。
但我当时在文中阐述的观点却依然鲜亮——生命的颜色是透明,如果透明算作一种颜色。
工作中不可能总有刺激和欢乐,不可能为生命提供丰富的背景颜色,但简简单单的三种颜色,就能呈现万千不同的效果。

去外地狂玩狂吃 vs 在家躺床上看电视 vs 努力学习科学文化知识

如题。
事先声明,凡是出现在本网络日志的内容区域的字符,可以被阅读者按照其意愿解释,但并不在所有情况下代表作者的原意。作者不会因为读者的误解(即读者以其自认为可以接受的、正常的理解方式对作者的写作意图和表达信息进行与作者原意不符的解释)而承担对读者可能造成的精神上和/或物质上的损失的赔偿或其他形式的补偿责任(法律上有规定的除外)。
我想说什么来着?!
啊对,就是关于假期(包括但不限于法定节假日及寒、暑假,某些情况下可能泛指一切可以由当事人自由支配的时间)干什么的古老话题。我没有工夫去研究古希腊、古罗马、古美索不达米亚的哲人们有没有因为这个问题而伤透脑筋,反正我自有主张。
原本就是想说:对于“趁着年轻,应该做些什么”这一问题,不同的人有不同的看法,而这些看法通常都能被聪明的人类(或自认为聪明的那类人)归为几类,比如说我就把假期的活动分为三类(见题目)。
第一种常被称作“见见世面”,第二种起码是“舒适安闲”,第三种呢,对我来说是“爱恨各半”。
好了,我在这篇 WebLog 想表达的意思已经呈现在读者眼前了。

创造性劳动

这几天琢磨测试脚本生成规范和DPS模块开发工作,突然觉得这都是创造性的劳动啊。跟上帝造万物,女娲造人,佛祖点化某某俗人使其成为大贤一样,都是一样一样一样的啊。

不仅值得骄傲和自豪,还要用于顶住困难和风险……

路漫漫,人惶惶,殚精竭虑,死而后已!