Sunday, November 29, 2009

Select (highlight) All Javascript

To ease your work, I decided to equip my code boxes with a 'Select All' function, so that you can easily highlight the text in the box, copy it and paste it into your .html file. I searched a lot and the only one that really worked for me and was very simple was the forum thread called Select All Text In A Form Field On Click. You can test this by clicking into any of the code boxes I posted.

Friday, November 27, 2009

How to add line breaks into a textarea

I use the textarea tag when I include code into my posts, but I wasn't able to figure out a way to add a line break in there as the <br/> tag would be displayed in a textarea instead of actually breaking the line. Well, as I could find out through the article Adding/Insert Line Breaks into a Textarea the key is to add this 'code' instead: &#13;

It's tiny but can be really annoying if you don't have the information. ;)

Friday, November 06, 2009

Some "cosmetics" applied to G&G Home website

Let me just post a little note about that I did some cosmetics to a website of a team of 2 industrial designers, called G&G Home. The website was built of images only, so no text (not very good SEO, but I guess it's not the intention). The problem was that the images although well designed, the background was still white.

Sunday, November 01, 2009

Stretch a background image

Well, yeah, I thought it might be useful for your website building efforts, so I looked up articles about stretching a background image and this is what I found:

- short version: How do you ... stretch a background image?
- long (detailed) version: How Do you Stretch a Background Image in a Web Page

Check out my blog for example, doesn't it just look so great? :)