CogBlog

Icon

Our little place to ponder life, the universe and all things webby

JQuery goodness

Filed under: Web Design , ,

We’re on the road to becoming Umbraco certified

Tim Saunders our development director flew over to Copenhagen last week and took one of Umbraco’s fantastic and rigorous training courses.

After a couple of intense days with Umbraco’s founder Niels Hartvig, Tim emerged battered but unbowed with his Level 2 Umbraco professional certification proudly clutched in his hand.

What does this mean?

Well it’s the first step for us in our aim to become an Umbraco certified solutions provider. However it also means that we are well placed to perform complex integrations using the Umbraco platform.

We think Umbraco is a fantastic platform with a great future and we’re gald to be able to show our expertise in it on paper. Most of all though it means we can contribute even more to the thriving open source community which surrounds Umbraco.

Keep your eyes peeled for code snippets, tips, tricks and all sorts of Umbraco goodies over the coming weeks and months as we aim to make the Cogworks one of the top Umbraco solution providers in the UK.

Filed under: Umbraco ,

Top margin HTML wierdness

I’ve been coding HTML and CSS for over 9 years now, and the range of quirks and work arounds that you stumble across when trying to overcome cross-browser compatibility and to get the same margins and padding in all browsers still amazes me.

One I  found a while back, that I have just rediscovered if the use of a 1px border at the top of the screen.  To explain…

I have an HTML page, with a container DIV as follows:-

<body>
<div id=”container”>
</div>
</body>

The styles to control this are:-

#container {position:relative;margin:0px auto 10px auto; width: 980px;border-top:1px solid #004180;}

Without the border-top:1px solid #004180; in Firefox and Safari on Mac and PC there is an extra 10px at the top of the screen that seems to come from nowhere.  Which is bizarre…and even more bizarrely is that it works perfectly fine in IE6.

Adding the top border does indeed add 1px, but it closes the top margin.  I have no explanation for this, it just works.

Thats that…you work it out :)   I gave up trying to figure out why many years ago :) And if you do figure out why, then please let me know too.

Filed under: Interface, Web Development , , ,

Hello…and welcome to the CogBlog

Greetings and welcome to the CogBlog.  A long time coming, but finally we have one.

We will be adding, from time to time, snippets of information, ideas, comments, rants, thoughts…indeed anything we feel is worthy (or not worthy, dependent on your perspective) from our day to day lives at The CogWorks.

Please feel free to comment and let us know your thoughts.

Well…here goes…

Filed under: General stuff ,