Win a new Mac Book Air laptop

Archive for December, 2006

How to Fake Background Opacity

Tuesday, December 12th, 2006

The more observant among you will notice that the background of the website has changed recently. I love my butterflies but since I’ve been putting up a lot of pictures of art lately something had started to bug me.

The site is built with a simple centered container - I wanted the background of the website to show through but very faintly (at about 5-10% opacity). When you just have text this looks great, but as soon as you start to add photographs you start to run into problems - the background shows through the image - this is because the opacity effects everything within in.

For example if I have div id=”container” etc. with an opacity of 95% applied to it, all the child elements of thatdiv will also have opacity of 95%…There is however a CSS solution - a trick - you need to create two background images and position them very carefully.

Here are the detailed instructions and CSS.

 example 1 example 2 example3 example 4 example 5

Red Fibonacci Series with Bird and Tomatoes

Friday, December 8th, 2006

Red Fibinacci Series with Bird and Tomatoes

Red Fibonacci Series with Bird and Tomatoes (2006)

Wood, Paint, Bird, Tomatoes

Void

Friday, December 8th, 2006

Void - 2006

Void (2006)

Wood, Paint, Ceramic, Vinyl

Wierd WordPress Function

Thursday, December 7th, 2006

Well here is a wierd thing. At the moment I’m trying to write my first WordPress plugin (for an image gallery). Everthing I posted to the database seemed to be getting wrapped with tags. After 20 minutes of tearing my hair out, here is why:

I was using the following code:
$gallery_name = $_POST['gallery_name'];
$gallery_name = escape($gallery_name);

$result = $wpdb->query("INSERT INTO...;
This saved say ‘

monkey

‘ to the database when all I wanted was ‘monkey’ - the answer? Well i should have been using:
$gallery_name = $wpdb->escape($gallery_name);
Who would have thought so stupidly simple and such a bugger to find. Still the most useful bit of PHP I know is:
echo('

');
print_r($_POST);
echo('

‘);
After all if you are going to tear your hair out it is better to be safe than sorry.

Symbiotica

Tuesday, December 5th, 2006

Symbiotica is coming soon. Watch this space.

 Symbiotica 1st Draft

A few preliminary doodles. As you can see I need practice.

order clomid viagra online review cialis from canada cheap generic viagra compare cialis prices online buy cheap acomplia buy viagra no rx find discount viagra online cheap accutane online lasix pills drug cialis online purchase order discount viagra order viagra from canada cheap lasix online online propecia viagra information accutane prices cheap generic acomplia levitra generic cialis cost levitra without prescription propecia prescription buy acomplia cheap acomplia prices acomplia cheap discount viagra purchase cialis no rx buy cialis us synthroid buy cheap cialis cheap zithromax cialis drug lowest price lasix clomid online cheap order acomplia online viagra online cheapest soma prices order cialis no rx cialis without a prescription cheap clomid buy viagra without prescription cheap generic accutane buy propecia without prescription cialis free sample propecia pharmacy buy viagra from us zithromax cheap buy levitra generic propecia no rx viagra cialis tablets cialis without prescription generic viagra cheap generic accutane discount cialis online clomid cheap buy discount viagra cheap viagra on internet overnight viagra viagra uk buy viagra from canada buy generic accutane viagra no prescription zithromax pills cheapest synthroid prices discount synthroid where to buy zithromax cheapest zithromax prices buy soma without prescription accutane no prescription cheap levitra tablets find cheap cialis online levitra pills