CheeseToast

A blog by Graham Clark

  • Increase font size
  • Default font size
  • Decrease font size
Home
CheeseToast
This blog will contain articles and tutorials on topics such as (X)HTML, CSS, Javascript/JQuery and other things that fall under the heading of web design. Hopefully they will be of some interest to you. Feel free to comment on any of my postings.

Printing Web Pages with CSS

E-mail Print PDF

Although nowadays it's becoming more acceptable for people to read text from a screen (especially with the release of high resolution e-readers such as the iPad and the Kindle) it's still very important that people have the option of printing a paper copy. Most websites, however, don't prepare their pages to be displayed on paper. This can result in a headache when you discover that the web article you just printed out contains useless navigational menus, graphical advertisements, sentences that disappear off the side of the page and a colored background that just made your printer ink run out.

This article will walk through some of the easy steps involved in creating a printer friendly version of your webpages. To see this method in action, take a look at this example.

 

PHP Contact Page with Validation

E-mail Print PDF

I'm going to demonstrate how to create a PHP contact page that checks that the form fields are valid before e-mailing the contact message. Form validation is something that can be done very well in JQuery (since it does not require the page to be reloaded), however if you want another option then PHP can get the job done too.

 

Why Tables for Layout is Unprofessional

E-mail Print PDF

I was recently asked to write some HTML for a e-mail newsletter and I was forced to recall what it was like to design layout using tables (bleh!). Of course there are still some designers out there who argue that using tables for layout is just fine and that harking on about divs and the semantic web is overreacting. Admittedly, it's very quick and easy to come up the desired structure using a GUI like Dreamweaver, but it's just not good practice.

 

Using Custom Icons for Lists

E-mail Print PDF

Here's a really quick tip for jazzing up your bullet points in unordered lists. Make use of the ability to assign images as your list-style.

 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  3 
  •  Next 
  •  End 
  • »


Page 1 of 3