Creating a basic, 2-column, center-aligned fixed width layout with CSS
February 27, 2010
How to build a simple center-aligned fixed width two-column layout.
How to build a simple center-aligned fixed width two-column layout.
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 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 […]