The easiest way to center text vertically using CSS is to set the line-height to the same size as the container's height.
Example
//Add this to your STYLE tag or external CSS file
div#header {
height: 100px;
line-height: 100px;
}
<div id="header">
My text
</div>
UPDATE: Also see
Tuesday, April 28, 2009
Saturday, April 25, 2009
Multi-lingual Email Address
Multi-lingual email addresses, or Email Address Internationalization (EAI) as it is more commonly known, has been around for a while. Netaka, a Canadian firm, has been providing an email service for the Chinese community that supports the use of Chinese characters in the email address.
The Internet Engineering Task Force (IETF) has also assigned a committee to oversee the internationalized email effort and the result has been the RFC4952, which in combination with RFC3490 for Internationalizing Domain Names in Applications (IDNA) defines a standard for supporting email addresses with international character sets.
The effort for internationalizing email addresses has been fairly recent, so it will be a while before email servers start supporting other charactersets.
The Internet Engineering Task Force (IETF) has also assigned a committee to oversee the internationalized email effort and the result has been the RFC4952, which in combination with RFC3490 for Internationalizing Domain Names in Applications (IDNA) defines a standard for supporting email addresses with international character sets.
The effort for internationalizing email addresses has been fairly recent, so it will be a while before email servers start supporting other charactersets.
Yahoo! Geocities Pulling Down Shutters
Yahoo! will stop providing the Geocities free web hosting service later this year. What started off in 1994, providing free web hosting communities, was started off by Beverly Hills Internet. In it's original form, Geocities consisted of several virtual 'cities' that represented a category (Eg. Cape Canaveral was for Science & Silicon Valley was for Technology (?) ).
It was acquired by Yahoo in 1999. After a change in the Terms of Service, indicating that all content would be owned by Yahoo!, Geocities grew fairly unpopular and this caused Yahoo! to reverse it's decision on content ownership. Geocities also sold information about it's users to marketing firms which led to a litigation.
It was acquired by Yahoo in 1999. After a change in the Terms of Service, indicating that all content would be owned by Yahoo!, Geocities grew fairly unpopular and this caused Yahoo! to reverse it's decision on content ownership. Geocities also sold information about it's users to marketing firms which led to a litigation.
Judge of The Pirate Bay case
A recent blog article reveals that the judge who presided over The Pirate Bay hearing was, in fact, a part of two intellectual property protection organizations. As if that wasn't bad enough, he was also a part of the organization acting as the plaintiff i.e. the guys suing The Pirate Bay. If that isn't a mis-trial, I don't know what is. Get more of the juicy details here.
Tuesday, April 21, 2009
Torrent Sites Shut down After Pirate Bay Verdict
Following the court verdict against The Pirate Bay, several other torrent search and tracking sites have shut down to avoid becoming the target of legal lawsuits. Among them are: Nordicbits, Powerbits, Piratebits, MP3nerds, and Wolfbits. Nordicbits has a page here indicating the shutdown, while the others simply disappeared into thin air.
Subscribe to:
Posts (Atom)