Update // 15//01//2008 – Horizons

Time for a site update.
I saw a template for a blog and implemented it. I liked it so much I decided to try and replicate it for my site. It wasn’t hard, and so most of the Spill site that was before it was easy to convert over. (Spill has been saved in case I decide I want to revert back to it again. I still quite like its design as a part of me). I’ve chopped the page templates down to 2 column instead of 3, and made a fixed centred column… Which made things difficult in IE (as usual). I think I’ve gotten things fixed for IE using quite a simple method.
In Firefox, the following css gives you a centred div

[code]
#content_wrapper {
width: 720px;
margin: 0 auto;
}
[/code]

However, in IE the term auto doesn’t work the same and so the div is not centred and the site design is lost.
I found out however, that by centering the text of the body, IE will centre divs inside it. But then everything has centred text. The way to fix this however is to align the div’s text to be left…as follows…
[code]
body {
text-align: center;
min-width: 720px /* Mozilla needs this in case of the window being resized smaller than the width of the content wrapper... */
}
#content_wrapper{
text-align: left;
width: 720px;
margin: 0 auto; /* So that the centering still works in Firefox */
}
[/code]
}

I’ve also managed to load the blog files and archives to my server (alingham.eirenz.net) as I notice the quota that I have has been increased rather generously! THANKS GAZZA!

‘Till next time…

What you think?

I'd love to know your thoughts.