Help with ADXL345 accelerometer and IDG 500 gyroscope

Are the both not working? If so, you are asking two questions.

Can you add links to the sensor boards (just copy the url in your message).
Is this your breakout board for the accelerometer ? http://www.sparkfun.com/products/9156
Is this your breakout board for the gyro ? Gyro Breakout Board - IDG500 Dual 500°/s - SEN-09094 - SparkFun Electronics

I suggest to start with the gyro.
It has an onboard voltage regulator, so use 5V, and connect the analog outputs to analog inputs of the Arduino.
The picture for the gyro is good.

Get the gyro running, before trying to communicate with the accelerator breakout board.
The accelerator breakout board needs the "Wire" library for I2C. The voltage must be 3.3V (from the Arduino board). It also needs 2 pull-up resistors of 4k7 to the 3.3V for the I2C bus, and the CS line has to be connected to the 3.3V to select I2C.
So before trying to communicate with the accelerator breakout board, you should try a few sketches to get to know the Arduino. Try the example for the blinking led first.