News & Blog

Prevent CSS Padding Changing an Elements Dimensions

July 8th, 2011 - Posted by Steve Marks to (X)HTML / CSS, Web Development.
Today I want to share with you a scenario I find myself coming across on a day-to-day basis and one that had me stumped when I first started to build HTML websites; the fact that when you add padding to a HTML element it has a direct impact on the width and height of that [...]...

Reasons to Validate your HTML Web Pages

September 28th, 2010 - Posted by Steve Marks to (X)HTML / CSS, Web Development.
Before I begin to list the reasons why you should validate your websites, lets take a step back and look at what validation actually is. What is W3C Validation? Validating your webpages means updating your code (ie. HTML and CSS) to meet the technical specifications and guidelines outlined...

Creating a Navigation Menu using an Unordered List and CSS

April 18th, 2010 - Posted by Steve Marks to (X)HTML / CSS, Web Development.
By far the easiest, cleanest, most lightweight and most flexible way to create a horizontal navigation menu is to use an unordered list and style it with CSS. I’m going to show you, starting with a standard list, how to create a fully functional menu including formatting and function...

How to Achieve 100% Height Plus Footer Using CSS

April 15th, 2010 - Posted by Steve Marks to (X)HTML / CSS, Web Development.
View a Demonstration I remember a couple of years ago, before I used CSS to structure my website layouts, achieving 100% height with tables and getting a footer to stick to the bottom of the page was a nightmare. No matter how many forums or articles I read, it never seemed to be an easy [...