Amazing milestone for a website

We have reached 10 years old, a fair age for any website. Actually the domain was registered in October 2002, the site started with the CSS Generator and I added the forum in March 2003. October 2002 So we are actually closer to 10.5 years old. I would like to thank all the people who have been involved, specially the moderators who keep this place running when I leave it in auto pilot mode.

HTML5 anchor name & target

An named anchor, so you could target section of the page, like jump to content, used to be

<a name="content"></a>
notice no href.
You could access it in a link prefixing the name with a '#' like
<a href="#content">Jump to content</a>
This is still supported by browsers but no longer valid HTML5.

"http://validator.w3.org/" wrote:

The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.

Or you could add '#content' without the quotes to the end of the url in the browsers address bar.

Clearfix and Browser support

When I first wrote about what's known as the Clearfix technique in 2004, I knew it was going to be useful. It was to solve a problem that previously required us to add extra markup to the page. I had no idea it would still be used in one of it's many forms in most CMS and a large percentage of all websites 8 years later.

Browsers have come a long way since then, most of the browser versions we had to support are not even thought of these days.

Debugging CSS problems

Validate
Use a valid doctype and validate your markup and styles.
This will help you find out if something as simple as a typo or an unclosed element is causing the problem.

Test in other browsers
Browsers have different base styles and varying support for CSS properties. Knowing in which browsers the problem occurs, make it easier to find a solution. Your problem may be a browser not implementing a CSS property.

Inspect

Happy Birthday to us

I can't believe the forum is now 9 years old. That must be like 100 in web years. The site is actually a few months older then the forum and started as way to display a tool I called the CSS Creator which allowed you to make style changes to live sites. Here's a link to the wayback machine from December 2002, and the CSS Generator as it is today.

Thanks to all who help make this a great place to solve CSS issues and browser issues.

Syndicate content