1 / 3
Caption Text
2 / 3
Caption Two
3 / 3
Caption Three margin testing

Wednesday, November 17, 2010

IE’s Disappearing, Reappearing, Broken Borders

http://hi.baidu.com/yaoyingying/blog/item/5d8b33c770345fd5d1006033.html
_蒹葭人生_百度空间

(I just added a style to the allborder div:

style="height:100%;" , HL 20101117)

What do you do when an element's border is broken in Internet Explorer? Where half of it is there, but half of it is not; where refreshing the page might clear it up, but might not; where highlighting text inside the element might also clear it up, but then again, might not…

There's a documented bug in IE 6 called the peakaboo bug – read about that here – but I've experienced this problem in IE 7 as well.

The Problem

What I've experienced is that IE will render a page (that appeared beautifully in Mozilla browsers) with some element's border broken. IE would display only parts of the border, a little here and a little there. And if I highlighted text within that content block, it would join up all of the broken border lines so that the entire border was displayed. The image to the left highlights the right-side border of the element block; that border shouldn't be patchy.

Screenshot of broken bordersThe blurred text is part of a site map – a horizontal rule marks the sections and the entire content area has a light gray border. As you can see, the broken borders in IE only appear in positions vertically even with the content of each section of the site map. Each of those sections is a group of left-floated <ul> elements – it's a big site map!

So I suspected the problem occurred somewhere in those floats, but didn't know why.

The Solution

The root of the problem is whether or not an element "has layout." Now, "layout" is a completely made-up, IE-specific attribute not attended to in any manner by the other browsers. It's bunk. But it provides the solution to the broken borders issue. (You can read more on hasLayout here if you'd like.)

To enforce proper border behavior in IE, the floated elements need to "have layout." If validation doesn't matter, the quickest solution may be to add "zoom:1″ to the element. If validation does matter, you can give an element layout by setting "position:absolute" or assigning the "height" or "width" attributes something other than auto.

What's worked for me? Find the element that is actually causing the rendering problem by experimenting with adding a "zoom:1″ style to different elements – start with the element with the broken border, sure, but if that doesn't work try assigning "zoom:1″ to some of its child elements or neighboring elements. Once you've located the element that needs layout, you can replace "zoom:1″ with a specific height or width value – then the problem is solved and your CSS validates.

Tuesday, November 16, 2010

Holiday shoppers spending more online than in-store

http://www.bizreport.com/2010/11/holiday-shoppers-spending-more-online-than-in-store.html#
- Ecommerce - BizReport

The latest Compete Holiday Insights survey shows that in recent weeks more money was spent online by holiday shoppers than in-store.

by Helen Leggatt

As of Sunday, November 7, almost two-thirds (61%) of respondents to Compete's survey had begun their holiday shopping and 14% had made more than half of their intended purchases.

Many are going online to do their holiday shopping and, for thefirst time since the beginning of October, more money was spent on holiday items online than in-store.

On average, in the week to November 7, consumers spent $185 online, up 30% from 2 weeks prior, whereas offline spend averaged $175, down 32% from 2 weeks prior.

While increased shopping across all product categories was apparent, the largest increases were in clothing and shoes, toys and games, and movies and video Games.

Other recent data from Compete shows holiday shoppers are turning to the Internet for upcoming Black Friday deals. While traffic to Black Friday websites has already exceeded 2008 levels, there is some way to go before it tips those of 2009.

Tags: e-commerce, holiday shoppers, online shopping

Monday, November 15, 2010

Google Product Search Boosts Local Shopping Vs. Amazon

http://www.eweek.com/c/a/Search-Engines/Google-Product-Search-Boosts-Local-Shopping-Vs-Amazon-722366/
By: Clint Boulton
2010-11-15

Google Nov. 15 refreshed its Google Product Search service, Google Shopper App, and added popular products and aisle tabs in time for Black Friday.

Google Nov. 15 unveiled an improved Google Product Search service, partnering with retail giants such as Best Buy and Williams-Sonoma to surface goods for online shoppers who are nearby.

The search engine partnered with more than 70 retailers and software makers such as Oracle, JDA and Epicor to index inventory of local Best Buys and other outlets. The software makers provide special adapters to funnel retailers' inventory data to Google Product Search.

For example, consumers searching Google Product Search for products can click the "nearby stores" link to see where it's in stock at participating stores near their location. Then they can purchase it online, or drive to that store to size up the product to better decide if they want to buy it.

The idea is to save shoppers time from calling or driving to stores to check product availability, a boon as the holiday season prepares for the Black Friday shopping dirge Nov. 26.

While searchers can't buy the goods from Google.com they way they can go to Amazon.com and buy products directly from that e-commerce Website, they can get a better handle on what local shops have in store. Amazon.com doesn't help with the local shopping experience in this manner.

Google offers an example of a Canon camera in this blog post here, while Search Engine Land features a detailed run-through here.

Google also extended this product search capability to the mobile phone with Google Shopper, which helps shoppers driving around comparison-shop for merchandise with their Android phones and find the best place to buy them online or in a store nearby.

People use Shopper by calling up the app on their Android phone and pointing their phone's camera at books, CDs, DVDs, and video games, along with most barcodes to get search results about those items on Google.

The new Google Shopper 1.3 app employs new search filters such as "price" and "brand" to help users refine their search, accompanying the existing local availability, voice search and barcode scanning capabilities to get product info online.

Finally, Google said it aped brick and mortar stores with two new features called "popular products" and "aisles" to help people discover new products and get details about them.

A user searching for "camera lenses," on Google Product Search will surface the lenses other people are finding online. "Aisles" helps users check out products by organizing results into sub-categories others have found helpful.

"For example, if you're looking for a new TV, you can choose between display types like LCD and plasma. If you're interested in camera lenses for that brand new SLR, you can shop by the aperture of the lens," said Sameer Samat, director of product management for Google Product Search.

Google's Product Search upgrades come nearly three months after the search engine purchased visual search engine Like.com, which helps people match clothes and other apparel online and purchase them from retailers.


Saturday, November 13, 2010

Change Default Boot Order for Grub 2 in Ubuntu 9.10 or 10.04 Lucid

http://www.hackourlives.com/change-default-boot-order-ubuntu-10-04-lucid/

With Grub 2 you can no longer edit grub.conf or menu.lst files located in /boot/grub folder. The file to be edited is now "grub" located in /etc/default/ folder, you can edit it by running the following command from terminal (sudo gedit /etc/default/grub). The contents would look like this:

If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic cardsupports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640×480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entrys
#GRUB_DISABLE_LINUX_RECOVERY="true"

To change the default boot option, you just need to change the GRUB_DEFAULTparameter. 0 is the first entry, so if you want windows to be your default boot option which is, say at, 6th position in the grub menu, then you just need to change the GRUB_DEFAULT value to 5 and save the file and close it.  If you want to change the Auto Boot preset time then you would need to change the value of GRUB_TIMEOUT parameter, it should be assigned a value in seconds and would determine the delay in seconds before grub boots the default choice, automatically. Now from the terminal run following command and your grub default boot order would be changed when you boot the next time:

 sudo update-grub

Friday, November 12, 2010

3 Beautiful Conky Configurations

http://www.webupd8.org/2010/11/3-beautiful-conky-configurations.html
~ Web Upd8: Ubuntu / Linux blog

1. Conky Meet Faenza

Conky meet faenza



2. Conky Launchpad

Conky Launchpad


3. Conky Ken

Conky ken


The first 2 Conky setups above are very easy to configure - just install conky, then copy the extracted files (look for hidden files and folders too) into your folder and that's it. Conky Ken takes a bit longer to set up but it's not all that difficult, however I couldn't get the weather to work (it might have something to do with might location though). For each of the 3 Conky setups above, download the archive and see the README for exact installation instructions.

And speaking of Conky - Conky Colors, an utility to easily set up amazing custom Conky configuration has just been updated (by the way, I was using Conky Colors in the Compiz 0.9.2 screenshot). Download the latest Conky Colors | How to set up Conky Colors Cairo mode (rings).

2010网络生活价值榜-榜外榜

http://news.sina.com.cn/c/sd/2010-11-11/150921454855_3.shtml
http://www.sina.com.cn 2010年11月11日15:09 新周刊

  2010网络生活价值榜·榜外榜

  愤怒的小鸟

  它发源于iOS,攻陷了Symbian,蔓延于Android,即将登陆Windows Phone 7,它是几大移动终端平台中当之无愧的游戏之王。它秉承了小游戏简单开始、简单结束的宗旨,集趣味和知识于一体,让欢快的音乐和可爱的画面伴随用户的游戏体验。

  钉子户大战拆迁办

  国外有《植物大战僵尸》,我们有《钉子户大战拆迁办》。拆迁办有铁铲、砍刀、挖掘机,钉子户有拖鞋、弹弓、煤气罐。这个小小的网页flash游戏既没有豪华的大制作,也没有复杂的系统设定,但它却一炮走红,风靡全国。因为我们玩的不是游戏,而是现实。

  Googlefast flip

  Google实验室的新服务,今年开始引起人们注意。它以网页快照的形式为使用者提供快速阅览,让平面媒体的内容在网络上尽可能以合适的方式呈现。它并不成熟,也不太完美,但它在尝试与平媒牵手,它至少表达了两点:新媒体不是吸血鬼,或者新媒体不想这么早吸干旧媒体。

  迅雷看看

  它以视频门户之名提供巨量影视,为网民奉上高清在线影像,身兼正版发行平台,为网民提供最便捷的下载入口。它巧妙地把一个下载网站延伸为综合视频站点,最大程度契合了网民的视听习惯。

  三国杀OL

  桌面游戏风靡大中城市,但"三国杀"成功地跳出了茶几桌面,跳入了电脑桌面。三国杀OL集历史、逻辑、智力、人性、欺骗、忠诚、原则、立场于一体,充分调动了屏幕土豆的扮演欲望,探索着城市白领的企图心。它正如它自己的评价,"三国杀符合中国人的审美情趣和娱乐需求"。

  中粮美好生活网络营销

  它是最传统的企业,中粮;它是最古老的产业,食品;它又是最创新的传播平台,微博(http://t.sina.com.cn)。"美好生活@中粮"在新浪微博启动,在全网络爆发,引发话题、聚合情感共鸣,以最具亲和力的方式拓展了网络营销的广度和深度,拉近了网络世界和现实生活的距离。发现美好,"链"上美好生活。

  115网络U盘

  它是网络上的文件资料库,为网友提供最方便的文件分享功能;在宽带仍然局限的国度,它迅捷的网速最大程度贴合了网民的需求。在BT和eMule之后,115让网盘成为主流的文件发布和下载方式。小巧而强大的特性,使得115有可能成为最为普及的文件分享工具。

  有道词典

  它个子小巧却有大能量,集成词典让你无缝切换多国语言,"百科全书"功能更让你随时得到"指点"。它牵引求真若渴的中国网民跨越语言鸿沟,获取优质信息。从用户价值的角度来说,它已经超越了翻译工具和学习工具的角色。

  豆瓣电台

  它是互联网时代的音乐台,让你无论何时何地,都能在电脑和手机上享受好音乐。它拥有海量乐库,却能读懂人心,屡屡让听众与喜欢的音乐不期而遇。在一片喧嚣的中国互联网当中,豆瓣电台以极佳的界面和用户体验,成为今年最让人惊喜的音乐产品。

  月光博客

  它是互联网业界孜孜不倦的发言者,一日一博的记录堪称中国互联网行业的编年史。它谈论技术时兼具个人趣味,谈论话题时兼具社会背景,它有观点、有认识、有情怀,虽然专注于IT,但一个行业与国家的变迁尽在其中。

  3G门户网

  当全世界的眼光还注视在互联网的冲击中时,它最先投身于新媒体的开发和应用,它的存在不局限于现在,它的着眼点等同于未来,它是3G时代里最懂手机的。未来"媒体平台、应用平台、商务平台"的模式,必将架起大互联网时代最具想象力的一个环节。

  QQ群

  "物以类聚"和"人多力量大"在这里得到了最好的体现,任何一种你所能想象到的人际关系,都可以在这里迅速升温和持久保鲜,任何一种你所关注的事物和现象,都能在这里为你提供最强大的同好者联盟。它是校友录的活跃恒温版,是百度知道的即时在线版,在这里,你不是一个人在战斗。

  年度最有价值微博TOP10

  @姚晨

  关注:655 粉丝:3611731 微博:2473

  评语:她是微博上最阳光的坦荡姐。她没架子,爱逗乐子,好捉弄猫、老公和朋友;她并不讨厌人家取笑她的大嘴,坦然承认自己很"二";她充满爱心,提醒人们小心"鲶鱼精",对贫民与灾民能施以援手;她是一名圈中艺人,却并不总是盯着口红、包包、美食和钱袋子出神,而是敢于怒斥不公、鞭挞恶人。

  @任志强

  关注:22 粉丝:1963149 微博:8094

  评语:他可能是最亲民的地产商与微博控。"任大炮"借助微博成功转型为"任教授",有时和"老潘"打情骂俏,有时和博友探讨严肃命题;有时,他是《财经》、《焦点访谈》和《南方周末》;有时,他是《读者》、《青年文摘》和《做人与处世》;有时,他是《知音》、《家庭》和《人之初》;有时,他是《论语》、《礼记》和《春秋》。

  @veggieg

  关注:57 粉丝:899448 微博:372

  评语:她是最著名的微博隐士。她不哈韩,也不哈日,而是"哈佛",爱哼"嗡玛尼呗咩吽",喜欢同法师探讨爱、功德与利他主义,不忘关爱灾民与嫣然天使基金;她是王菲贫嘴社社长,耍贫嘴的北京妞,把"女的"说成"吕的"、"喜欢"说成"洗翻"、"回来"说成"肥来"……兴致高时还会在演唱会换衫间隙发条微博问候粉丝"空中的盆友,你们好不",引来万人当场手机登录微博应和。

  @冯小刚

  关注:76 粉丝:1036867 微博:130

  评语:他是"冯通社"社长,微博里杀出的最大一匹黑马。他提倡要讲人话,会为一张电影票怒骂孙海英,为一头浣熊骂皮草迷是王八蛋,也会为一句话向张国立公开道歉;他是爱同人抬杠的直肠子,讨厌揭发与告密文化,不认同"越是民族的就越是世界的"、"大义灭亲"的观点,他既讨论贵族,也讨论航母,还讨论"人民是谁"。

  @方舟子

  关注:9 粉丝:443385 微博:1864

  评语:他可能是中国树敌最多的人,但也可能是中国朋友最多的人。他是一只爱挑刺的啄木鸟,重事实讲证据,爱较真敢直言,扒下唐骏和禹晋永的西服、肖传国的教授袍时毫不留情,每一次发声都像射出一支利箭,令造假者不寒而栗,也给自己招来了夺命的铁锤与暗器。

  @派出所值班那点事

  关注:1934 粉丝:11728 微博:5536

  评语:它是最不像公安微博的机构微博。它讲厦门的天气,讲值班的内勤MM,讲如何杀土猪,讲QQ和360斗法如何令值班的同事头疼,讲为一个柚子打架的小贩,讲赌博的案子如何定性……家长里短,接着地气儿,充满人情味,围观的博友称,把它每天写下的素材改一改,就能拍成电视剧。

  @蔡康永

  关注:250 粉丝:3027439 微博:150

  评语:他是最有思想的娱乐主持人和情感教育大师。他在微博上写"躲避诗",写"没人在乎的小报道",写"给残酷社会的善意短信",写"给未知恋人的爱情短信",写"给无聊大人的诚实短信",每一次发声都能收获上万次的回音。他会做人,把说话的艺术变成充满哲理的平常道。

  @新周刊

  关注:233 粉丝:787566 微博:6381

  评语:它是中国最具人气的媒体官博。每天早八点,它会和你道一声早安,每天晚十二点,它会和你道一声晚安;它既理性又感性,既尖锐又平和,既新潮又传统,既嬉皮又雅皮,既用匕首刺中黑暗,又用热血接纳光明。它是纸质《新周刊》的网络肉身,是你的爱人,也是你的玩伴。

  @冷笑话精选

  关注:591 粉丝:1132746 微博:3316

  评语:它是最逗乐的幽默日记。它每天尽心竭力替你搜罗最冷最热的趣图、视频、段子与语录,在嬉笑中透出一份哲理,在游戏中提供一份温暖,在戏谑中批判着社会,它是微博里的一份开心果,忙碌之余的一颗口香糖,无聊日子的一杯下午茶。

  @香港海港城

  关注:686 粉丝:145889 微博:1802

  评语:它是中国最会运营的商业微博。它一边塞给你全球最好的玩意儿,一边给你讲解什么是当下的真正潮流,一边还拉着你去和本港明星玩游戏做慈善。它是生意人,但是它并不会因忙着赚钱而忘记提醒你哪些是香港好人,如何才能玩转香港。它就是你的衣橱、鞋柜、咖啡馆、游戏厅和明星见面会。

  (注:以上数据统计截至2010年11月6日)

Wednesday, November 10, 2010

5 SEO Tips for eCommerce Sites

http://www.promotionworld.com/se/articles/article/101110-5%20SEO-Tips-eCommerce-Sites

by Danielle Sharpe
November 10, 2010

The sites which are sales-based or eCommerce sites really see Search Engine Optimization (SEO) into action in terms of Return on Investment (ROI). Even a little tweak can increase the sales tremendously:

1. Multiple Categorizations

Most of the eCommerce sites follow 'filing cabinet' approach; that means that every product is ascribed to only one category. However, in actuality one product can also fall into more than one category. For example, lingerie is a product that can fall into different categories like 'Baby doll nightgown', 'Basque', and 'Bustier'.

Most probably, you have been using 'sort by' choices to sort your products. What is recommended is to do these categories from their own landing pages. You have to see that each of those categories is linked to, using a clear HTML anchor text link.

2. The First Link

Several tests conducted by SEO professionals have proven that even if you link one page two or more times from any page, Google and many of the other major search engines would count only the first link.

Generally we see in a website that first there is the image of the product with the link to the product or sub-categories, and then description of that product with the same link placed again. For Search Engine it would be the only first link (which is usually in image) that really counts.

If your website has the same problem, you can fix it by placing the description and link, before the image. Alternatively, you can remove the link from the image, and let it be only with the description.

3. Keywords- Singular or plural

Logically the title for a page should be plural. However unfortunately, people tend to enter the singular version of the keyword, when they search it through search engines. Now if your website is optimized for the title which is plural, you will lose much of the traffic. The work around for this problem is to design the title of a phrase (which would be keyword optimized) using both singular and plural form of the keyword. For example, you can do something like this:

"Navigation gadgets: Buy your Navigation Gadget at mywebsite.com"

Changing a single line can double the traffic to your website.

4. Regularly freshening up of your pages

If you don't update your pages regularly, search engines might take that page to be dead. Therefore, keep updating your page(s) regularly to tell search engines that the pages are alive. This should not be taken lightly. With Real Time Search becoming the latest trend, and Google algorithms continually change to incorporate a system to check for freshness of pages as well; it becomes crucial, that you regularly freshen up your pages.

Question may arise, how you can keep updating your pages regularly for your eCommerce sites. You can follow these simple tips to do that:

•Include user reviews for your products in your pages.

•If you haven't done already, include a blog on your site. Categorize the posts nicely, and feed them into category pages to include some lines from the most new posts. It might take some time to implement but the efforts would be worth it; you would have your pages updated and fresh every time you write a relevant post.

•To set yourself apart from your competitors, regularly review and change the copy on the category and product pages. It is not only keeping your pages fresh, but would result in ranking boost.

5. Links to Deeper Pages

Continuing SEO campaigns can turn into never-ending battles in no time trying to govern those 'keywords' which brings more traffic. Most of the time companies spend so much time and resource for competitive keywords, that they almost ignore tail phrases, for instance, product names. To make it more clear we take an example; You are selling a LCD TV of myBrand company, and its product name, for instance is "myBrand RFG--40x3500 LCD TV".

You obviously would get more traffic to your site from the keyword "myBrand LCD TV", but as a matter of fact, but traffic which comes with "myBrand RFG--40x3500 LCD TV" has higher conversion rates. They can be ranked much easily with only a few inbound links.

TO gain an edge over your competitors, don't only compete for those glamorous keywords, but also invest considerable resources for link building of some deeper pages on the website. You will see your sale increasing a lot with this small change of focusing on deeper pages and links.

We hope that above 5 SEO tips for eCommerce sites would bring a little value to your efforts for SEO.A small change goes a long way; so try incorporating these small changes and see how they help you in not just attracting more traffic, but also making more profit..

Featured Post

Windows和Ubuntu双系统完全独立的安装方法

http://www.ubuntuhome.com/windows-and-ubuntu-install.html  | Ubuntu Home Posted by Snow on 2012/06/25 安装Windows和Ubuntu双系统时,很多人喜欢先安装windows,然...