Posted on 1 Comment

Quick Code: Complete Centering of a Page

The following code will completly center your page.

color: white;
background-color: #0ff;
text-align: center;
position: absolute;
top: 50%; /* positioned absolutely 50% from the top */
left: 0px;
width: 100%; /* 100% wide */
height: 1px; /* nominal height of 1px */
overflow: visible; /* overflow is set to ‘visible’ */
visibility: visible;
display: block

font-family: Verdana, Geneva, Arial, sans-serif;
background-color: #f00;
margin-left: -125px; /* negative margin that is exactly half of its width */
position: absolute;
top: -35px; /* negative top position that is exactly half of its height */
left: 50%; /* positioned absolutely 50% from the left */
width: 250px;
height: 70px;
visibility: visible


[div id=”horizon”]
[div id=”content”]
This is the centered box

Posted on 1 Comment

Open Source: FCKeditor

I’ve started working on an admin section for a website and decided to use FCKeditor as the online editing tool. They have recently published a new version which fixes many previous bugs and provides many more features that before, even giving the option of spell check which is good news to people like me.

Although the FCKeditor has great documentation and some forums to help with issues, there are still things I have run into that were a pain to find the solution. I’ll add any problems/solutions to this post as I find (and solve) them so I can hopefully clear someone else’s frustration.

(See comments for problems / solutions )

Posted on Leave a comment

Upcoming: Flash Forward

Unfortunately I won’t be able to attend, but from what I’ve heard I highly recommend you try to get yourself to Flash Forward 2005 in New York. It has presenters such as Aral Balkan, Jared Tarbell, Guy Watson, Peter Hall and really too many for me to name them all.

Check for better details.

It’s $699 which works out to a little less then £400 so get yourself there if you can.