Styling Headings with CSS
February 23, 2010
Different browsers have different default styling for headings – the h1, h2, h3, etc. tags. However, with a little bit of CSS, we can style them any way we like.
Different browsers have different default styling for headings – the h1, h2, h3, etc. tags. However, with a little bit of CSS, we can style them any way we like.
Most browsers will show links by default in blue and visited links in purple. But with just a little bit of CSS, we can do better than that — MUCH better…
Shortcuts are a good thing. They save time, gas, and make life easier. And who wouldn’t like things easier?
A website tends to look more balanced when it’s centered on the monitor, instead of clinging to the left side with lots of white space on the right. This looks even worse with increased resolution. And it’s not that folks will use that white space to make notes…..
In this second part, I am going to show you how to change HTML tags to either block and inline elements using the CSS display property. Although HTML tags are naturally rendered as block or inline level elements (as discussed in part one), you can change that using the CSS display property. Here are some […]
In 2003 I wrote an article on how to use CSS to make web pages printable. I figure that it made sense to include it here … the article:
One of the classic problems with how web pages are designed, is that they are horrible to print. Horrible in the sense that page elements (text, images, etc.) don’t line up and unwanted images and navigation links get printed.
I am as guilty as anyone of creating pages like that, but I am aiming to fix it for your websites and mine. While most other web designers will create separate ‘printable’ pages (big waste of time), we will only be making some simple additions to our pages to make them ‘print friendly’.
In this simple tip, I will show you how to align text on your webpage using the text align property with CSS.
In this tip, you will learn how to specify a font’s size with CSS.
Being a practical nerd, I will not waste time talking about all the various methods for declaring font sizes with CSS … instead I will concentrate on the two widely used ways and then briefly explain the differences.
In this ultra simple nerd-free CSS tip, I will show you how to change the color of your fonts with CSS.
Hi,
I wanted to introduce this new series of articles, videos and the occasional podcast that will cover all sorts of cool CSS techniques. You will find things as simple as styling links, to complete page layout strategies.
This growing collection of CSS tips, tricks and techniques can used to learn CSS and then later, you can use them as a cookbook of recipes you can refer to.