Case Study: Revamping an Existing Site
Jacques Soudan, a client and friend I met through DivitoDesign, sent me an email with a guest post about a case study on revamping his outdated site. Enjoy reading about his revamping project.
The website we are talking about was build back in 2001. As you would understand we are talking about a heavily-aged website that had the following ‘problems’ or difficulties:
- using some CSS, but mainly tables
- the menu is a separate JS file: easy to maintain, but it doesn’t look too good
- a few years ago I added the rounded corners (using JavaScript) and the red backdrop/border, but that doesn’t look too flashy either
- the source is not W3C compliant (outdated code like <br> – instead of the current <br/&nsbp;>)
- the footer is embedded in each page (hard to update for about 100 pages)
- in general, look & feel is not ‘up to date’
- the enquiry form uses a JavaScript file that is no longer supported
- in Firefox, the banner is not centered (in IE it is…..) and looks like this (also in a table – probably easy to fix, but never got to it):
For a website in the modern internet world, that is not acceptable. For this reason, I compiled a list of features I would like to have on the modern, good looking website.
Site Features we Need
- W3C compliant code
- CSS and HTML in separated files
- browser compatibility
- rounded corners & drop shadow
- 1 central menu file
- JavaScript support (instead of using several separate scripts that (might) interfere)
- structured design (layout without tables)
Where to Start?
Last year I read this very useful article about building HTML/CSS sites using a template. This template has a grid CSS layout and the jQuery framework build in. I had seen those before, but was not yet using them in combination with WordPress.
I also found this site for dropshadow & rounded corners. As I wanted to avoid too many jQuery plugins, I didn’t use jQuery for the round corners. So far my experience is that jQuery rounded corners can interfere with other plugins, needing too much work to fix (and warrant) it.
For this reason, the no-Java-script solution seemed preferable. Provided, it had worked – it did not – as it uses several <divs>, it messed up the Blueprint classes, it didn’t display properly ‘underneath’ the header images etc. The typical pain when it comes to CSS and different techniques in different browsers.
So…. dropping Blueprint? Or dropping the very sleek (and easy!) rounded corners? Dilemma there….. Until playing around with Blueprint a bit more…. as it comes with grid.png, to display the columns for design purposes, which you can switch off when you go live. But then, if you can remove that backdrop, why not adding your own???? Using my own image I had created for the initial technique, but thought useless now, it worked flawlessly!
Here is what I did – in the Blueprint folder, there is a screen.css – just add one line and comment the grid-line – that’s all!

In your container-DIV, just add the ‘showgrid’-class: (you need that anyway, if you want to display the Blueprint-columns):

The grid.png is repeated both horizontally & vertically, but my one large image is not, so it fits perfectly – I stretched it to 1600px, as the backdrop is hardly ‘repeatable’: it is a scanned letterhead-paper with a unique texture – using only a small slice/strip and repeating that would make it look unnatural. And I use a footer-image – including it in php, it neatly fits underneath the length of the actual content – not the full background image of 1600px – it ‘stretches’ to the maximum height, but resizes to the needed height.
I wanted to use this menu for this website. One problem though: it has no single menu file (eg. menu.php) you can add to your website. After building that menu.php file myself, the jQuery menu worked perfectly.
When I created the header.php and footer.php files and included in the website using PHP, they are easily updated in those 100 different pages. Depending on the page of the website, I can now include different images via one page. Pretty efficient.
The Template
With all this now in place, this is how the code looks like (this is what I will use as the ‘page-template’ (there is some test copy in, to show in Blueprint columns – all the ‘body-text’ for an individual page is placed within the <content-div> (both <span>-classes, in blue) – everything remains in place, no fluid/stretched text (in different browsers).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
<!-- blueprint -->
<!--[if IE]>
<link rel="stylesheet" href="supportfiles/css/ie.css" mce_href="supportfiles/css/ie.css" type="text/css" media="screen, projection" /><![endif]-->
<script src="supportfiles/js/jquery.js" type="text/javascript"></script>
<script src="supportfiles/menu/menu.js" type="text/javascript"></script>
<div id="container" class="container showgrid">
<div id="header" class="span-24 prepend-top">
<div class="prepend-1 span-22 append-1"></div>
</div>
<!-- end header -->
<div id="CONTENT" class="prepend-1 span-22 append-1 prepend-top">
<div class="span-17">
<h1>Main content</h1>
Put your main text here (17 columns wide).
</div>
<div class="span-5 last">
<h3>Sidebar</h3>
Some sidebar on the right (5 columns wide).
</div>
</div>
<!-- END CONTENT -->
<div id="footer" class="span-24"></div>
<!-- end footer -->
</div>
<!-- end container -->
Blueprint-grid enabled:
And this is how it looks like (pictures not optimized yet):
I need to finalize the CSS and do some tweaks here and there, but the very flexible yet sturdy framework is there. You can visit the live version of the website right here to check how it works.
Thank you – I hope this is of help to you – let me know if you have any questions or feedback by adding a comment.







Entertaining read. I’m a magician, but back in the day, I worked in the corporate business world–back when HTML was the thing and xml and ccs was just getting mentions. Now a lot of this seems like…well, magic!
Haha thanks for the interesting comment. Time is moving forward and forward…
[...] it helped me creating a W3C compliant and browser compatibile site - sharing it with you here: case study - I hope it is as useful to you as Stefan’s article was to me – feel free to let us [...]
Good start for designers.
The things regarding case study is really nice,i got a lot of information from here.
Definitely much more impressive. The new version looks much more polished and up to spec, and you showed some cool tricks with CSS and PHP which makes the site much more powerful. Thanks for sharing this!
More is coming!
I find site redesigns of existing/established websites to be far more difficult than new websites. You have to be careful you don’t effect existing navigation/ good seo ranking etc…
Yes, that’s the hard part. Keeping the structure alike, or improve it.
CSS has helped me creat websites for a while now. I am actually do in for some revamping of my website as well because I like everything so plain and clean. I have talked to my graphic designer and she has interesting ideas for me to implement that I would not have thought of.
However, changing everything everywhere can be hard, but when you use CSS you can make one change and fix all your webpages no matter how many you have.
CSS is great for multiple paged sites, indeed.
It’s always difficult to explain to people why tables are so ‘yesterday’, back in the day when tables were our staple it was so easy to know a mediocre site looking together. Divs seem more difficult at first but when you learn properly it’s much more efficient way to build and such loveley neat code. The rest of your article contained lots of stuff I didn’t know. I’m gonna make a re-vamp ‘template’ based on this post.
Thanks
Steve
Great, let me know when you have finished that.
Nice! Times are changing and we need to make our sites more attractive at the same time business friendly. Collaborating design ideas with my designers will be of help.
Working in a team works better and brings usually better results.
Thanks,
this is good for the designers.
Some useful stuff in here. Trying to get my head round grid layouts at the moment. 960gs seems to be the way to go for me right now. Thanks for sharing.
Check out: http://divitodesign.com/css/960-css-framework-learn-basics/
Bit of a delayed response I know. But thanks for that
No problem, better than never!
some tips on css and html very good start for beginners and also a little touch up for the pro’s.
I specially loved the revamping design, its whole new transformation to the existing website. Awsome post, good read.
Thanks
Thanks to Jacques Soudan!
This post is quite interesting and informative. Tech Info can help others to understand well some info regarding templates…etc.
nice article lots of things in the aricle of case study of HTMl & XML nice onee for it perfessional…….
I love wordpree but css is not my thing till now. This article helped me to lose the fear of it. Thanks
WordPress and CSS combined can offer a powerful combination. Thanks for your comment!!
Thank you for the detailed guide and links for further information. That is very helpful to me.
I built a website back in 2006 with HTML coding. And mind you there were a lot tables! I’m trying to “modernize” it. Any idea how long this will take? It’s basically just a website with about 500 pages or so…
Thanks in advance.
That’s one hell of a job you need to do. The great thing about WordPress is that once you build one “single” page, all your articles use the same structure. The only thing you can do is doing everything yet again..
Thanks for the compliments – I still need to finalise the framework (images, CSS), but so far I’m quite happy with it – Stefan pointed me in the right direction!
I’m not too worried about SEO – it’s pretty good already – reducing the table-clutter will improve loading time and eliminate any coding-errors, which will help its ranking (although hard to tell how much).
Reg. the grid: I found this tool to be very useful: http://toki-woki.net/p/Boks/.
Definitely a very handy tool you found there, Jacques.
…only found it AFTER I finished my design… typical! But good for the next project
hello, hope you will elaborate more on how you use CSS to create and revamping that existing website.
That’s a really good case study. I have a few sites that need to be revamped and I’m going to use this as a guide.