Wednesday, January 27th, 2010

Defining your Own tags using Stylesheets

I started writing pages about using stylesheets long before separating it out into its own section of my site. One of the first articles on stylesheets that I wrote was one on how you can effectively generate your own tags for whatever you want to include in the HTML by simply assigning a class to [...]

Saturday, January 23rd, 2010

CSS – To Hack or Not to Hack

Back in the early days of stylesheets support for the various commands varied somewhat between browsers. Quite a number of browsers also had quirks where they misinterpreted stylesheet commands either ignoring an invalid character and processing a command that ought to be ignored or by not recognising a valid character and so not processing a [...]

Monday, December 21st, 2009

Replacing Background Images

Updating the background colours and images is the final step in converting a generic template into the custom template that you will use as the basis for all the pages on your web site. Exactly how you do these background changes depends on whether you have selected a template that does things properly using a [...]

Friday, November 7th, 2008

Using your own Stylesheet

The person who has the browser is the person who has control over how the web pages that they visit look. Is the text in all the web sites you visit too small to read easily. Perhaps you’d prefer it if all the text were dark green rather than black. Create your own stylesheet in [...]

Tuesday, July 15th, 2008

Collision Proofing CSS

Sometimes you have a piece of content that you want to display in a number of different web pages and you want it to look the same in all the pages regardless of how the rest of the page looks. In this article we look at how you can write the stylesheet commands for a [...]

Monday, July 14th, 2008

Internet Explorer and hasLayout

The one browser that has always insisted on doing things its own way rather than following the standards is Internet Explorer (this is perhaps because for a number of years IE6 was so popular that it effectively was the standard). Now that IE only has 50% of the market you need your web pages to [...]

Wednesday, May 28th, 2008

Dropcaps and Minicaps

Another of my early CSS articles and one that is extremely easy to apply to any web page are these styles for producing dropcaps (where the first letter is several lines high) and minicaps (where the text uses smaller uppercase letters instead of lowercase ones.
Dropcaps and Minicaps

Sunday, March 9th, 2008

Manipulating Your Background Image

Back when I wrote this article it was still fairly common to pollute your HTML with deprecated attributes to define your page appearance such as the background attribute on the body tag. Even back then the better way to specify your page background was to use stylesheets since there are many things that can be [...]

Tuesday, January 22nd, 2008

Stylin’ With CSS

I received several books for review this last week and since the books usually take so long to reach me, I usually try to review them as quickly as I can after I receive them.
This is the first of two books that I received together, both from New Riders. This particular book is filled with [...]