Archive for September, 2010

Rounded corners in Internet Explorer

Wednesday, September 29th, 2010

There is a way for rounded corners on css-3 using border-radius . . . however, IE doesn’t support this function — older safari and mozilla browsers need the -webkit or -moz prefixes respectively.

So for everything to work together, we need to include an .htc file for rounded corners to behave properly in IE (Internet Explorer) – the htc file is made and being supported by Nick F. – and you may download it here.

After the download, all you need to make it work is to add these styles:


html,body { position:relative;} /* important if you have a background other than white */
.box1 { background-color:#000; border:1px solid #303030; border-radius:8px; -moz-border-radius:8px; -webkit-border-radius:8px; behavior:url(border-radius.htc); } /* the last statement with behavior is where the magic lies */

Make sure that if you put the .htc file in a different folder, that you specify an absolute/relative path to it . . .

And there you go . . . rounded/curved corners in firefox, internet explorer, safari, chrome and what have you . . .

Insight . . .

Wednesday, September 22nd, 2010

I haven’t posted in a while . . . have been busy with work and a 4 month old at home.

I came across this video at TED that jolted me . . . I didn’t agree with everything she said but it suddenly made sense to me how Adam and Eve were before the fall . . . perhaps, their brains weren’t separated and that was why they could feel and see God . . . and perhaps that is why after eating of the forbidden fruit – they noticed they were naked . . . it must be because their focus shifted from outer to inner (to themselves) and that is how it’s been ever since . . . we are just so focused on ourselves – in feeding ourselves, clothing ourselves and spoiling ourselves . . . always looking out for no. 1 as they say . . . maybe, if we were to realize how meaningless this is and to realize how being part of something bigger than ourselves would actually make us feel happier . . . perhaps, the Garden of Eden is right in front of us, we just don’t see it . . . or choose not to see it.

here is the video: