Back to top link

To create “back to top” link, we need 2 codes.

One for the top of the html page (at the top of the document after the <body> tag).

[html]<a name="top" id="top"></a>[/html]

(2 values of ID and NAME have to be equal for validation on validator.w3.org)

One for the link you want to show the link.

[html]<a href="#top">Back to top</a>[/html]

Google Logos

Today I clicked the “I’m feeling lucky” button with empty search box.

I really felt lucky!!! It took me to the Google logos page. I was collecting this logos whenever I see them… the whole collection from all over the world is here.

Lorem Ipsum – simply dummy text

When you are developing a site, sometimes you need a dummy text for placeholder.

Here it is! The simply dummy text site, Lorem Ipsum

save 32-bit Transparent

I wanted to save 32bit PNG file with transparency for Android Market (https://market.android.com/apps).
So I made the file in Photoshop – 32bit PNG file.
However, there is no option to export it with 32bit.

Solution

Import to Firewalks.

In Fireworks, choose “Window” > “Optimize”, change the export file format to PNG 32, and set “Matte” to transparent.

Select File > Export.

Select Images Only from the Save As Type pop-up menu.

Name and save the file.

Erase border in image + a tag

Html内の<img>にハイパーリンク<a>を付けるとboarderが出てしまう。

[html]<a href=""><img src="" width=""  height="" <strong>boarder="0"</strong>></a>[/html]