List Images

Posted: January 31st, 2009 | Filed under: CSS | Tags: ,

In CSS List Images are such a simple topic that I have seen overlooked over and over. There is not much to it at all. Just one line of css.

Example

ul { list-style-image:url(picName.jpg); }

Done in one short line. This will simply make every un-ordered list have an image in place of the dot. So then an un-ordered List in XHTML such as:
Read the rest of this entry »


Using CSS to Format Print Pages

Posted: April 6th, 2008 | Filed under: CSS | Tags: ,

The main problem addressed here is dealing with cross browser issues when using css style sheets to print.

Recently at work one of the sites that we inherited, and now maintain, asked for me to change the way their website looks when it is being printed out. The site itself was using very basic css, is still using tables for alignment, and has a flash header at the top of all the pages. I have never needed to stylize the way a web page prints so I was quite new to this. I did however know it could be done using an alternate css sheet.
Read the rest of this entry »