-
Set “height” property in CSS of a link
Posted on June 25th, 2013 Add commentsBy default, the tag <a> is an inline element, there is no way to set custom height for it. It only changes along with the text size. But you can change it to be block in order to set a custom height like below:
1234a.bigLink {display: block;height: 100px;}
7 views
-
解决″Windows安装程序无法将Windows配置为在此计算机的硬件上运行”
Posted on May 30th, 2013 Add comments在安装Windows 7时,如果出现“Windows安装程序无法将Windows配置为在此计算机的硬件上运行”错误,往往是因为一些预装Windows 8的电脑在降级到Windows 7的时候缺少AHCI驱动,而Windows 8已经内置了这个驱动。
解决这个问题,首先要下载AHCI的Win7驱动:把解压缩后的文件拷贝到U盘中待用,然后正常安装Windows 7,在选择分区的界面,选择“加载驱动程序”,然后找到U盘中的文件所在地,系统会自动检测到驱动程序,按照提示再继续安装Windows。
461 views
-
Change Visual Studio Workspaces for Team Foundation After Client Name Changed
Posted on February 2nd, 2013 Add commentsAs part of source control in visual studio team foundation, ever user has their own workspace tie to the computer name of client and username on Team Foundation Server. If any one needs to change the computer name on client computer or the username, should use “tf.exe” command from the visual studio like following:
- Make sure Team Explorer has been installed. (most likely it’s there if VS2010 installed)
- Open a command line window and go to folder “C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE” (or “C:\Program Files(x86)\Microsoft Visual Studio 10.0\Common7\IDE” if on Windows 7)
- Run the command
1tf workspaces /updateComputerName:Old_Computer_Name /s:http://Tfs_server_URL
37 views
-
How to manually update extensions on Google Chrome
Posted on January 14th, 2013 1 commentChrom manages it’s own extensions very well, but seems not checking update everyday. Here is how to check and install updates manually for extensions:
- Open Chrome, and type “chrome://extensions/” in the address bar
- Check “Developer mode” on the top right corner
- Click “Update extensions now” button
12 views
-
Enable Auto Completion in Eclipse Editor
Posted on December 4th, 2012 Add commentsBy default, when you are coding in the Eclipse editor, only “.” will trigger the auto completion drop down list, otherwise you have to press Crtl + Space to trigger it.
If we want to have the auto completion following by typing, like Visual Studio style, have to go “Window” -> “Preferences”, then choose “Java” -> “Editor” -> “Content Assist”, put “.abcdefghijklmnopqrstuvwxyz” in “Auto activation triggers for Java” filed.
22 views
Recent Comments