How to build a simple center-aligned fixed width two-column layout.
Archive for the ‘CSS Basics’ Category
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.
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 part one, I will explain how block and inline elements work Block Level elements: Most of the tags you will use in HTML (<p>, <div>, etc…) are rendered as block level elements. Blocks span the full width of space available, and skips a line on the top and bottom of the block. For example […]
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.
For some of you, this may sound like a real lame article. But you ought to give it a chance because I don’t write about stuff you’ll never use! I avoid marginal, nerd centric ivory tower blather like a cat avoids water. I’ve read hundreds (sadly, this is true) of those 2-inch thick nerd books […]
This article assumes that you know at least basic HTML; you know what a tag is and how to use simple tags like the <img> or the <p> tag. If this is confusing you, you need to read my tutorial for total beginners on web design – it’s really easy and people seem to like […]