* You are viewing the archive for the ‘CSS’ Category

Popup

I recently decided to create a popup on our home page to promote our monthly newsletter.

The industry seems to be divided on whether popups are a good idea. I suspect this is because they have been misused and abused by some sites. This has lead to the creation of popup blockers.

In our case we decided to use a popup (written using jQuery) but to restrict it (using a cookie) to make sure that it does not reappear for a site visitor for 20 days. In other words, if a new visitor came to billyfire.com today, and then visited every day … Continue Reading

[StumbleUpon] [Digg] [del.icio.us] [Reddit] [Slashdot] [Facebook] [Technorati] [Google]

Technical tip of the day – print style sheets

As you may know, one of the beauties of cascading style sheet (CSS) formatting of Web pages is that you can create a different style sheet for screen and print (and several other options for that matter, like handheld).

One thing to bear in mind is that background images will not appear in print unless the user has the ’show background’ image option set on their browser. In other words, say you had a logo that you wish to appear on screen and in print, you will need to put the image in the Web page as opposed to including it … Continue Reading

[StumbleUpon] [Digg] [del.icio.us] [Reddit] [Slashdot] [Facebook] [Technorati] [Google]