Adding links to all pages on a site using CSS

OK, I named this post that so that perhaps google will pick it up and those new to CSS will find this post.

There is a really good reason that there are no tutorials on the internet concerning how to add content (a site menu is the most common request) to all the pages on your web site using CSS. That’s because CSS doesn’t control content. It controls styling and nothing more. You don’t use styling to add content.

Why not look into some sort of server side includes. PHP includes will handle the situation. ASP.old can handle it but don’t use it unless you have no other choice (and you do). If you’re really fancy and modern and handsome and awesome you can just use ASP.NET MasterPages and/or User Controls. 🙂

To wrap it up, CSS doesn’t do that. Stop asking about it! Thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *