I just recently developed a web page for my friend. I am using CSS and HTML and during the development I used absolute positioning. I realised absolute is a bad choice after finishing the site; regardless it works well on all browsers/resolutions(with some extra work).
The site design currently has everything aligned to the left. I would like it to look similar to SRK’s front page where the container floats to the middle with a set padding on either side.
Can anyone describe a simple way to achieve this?
margin: 0 auto;
in your #container div.
Remember to set a width as well.