DaveJays Blog

Flickr

Twitter

Authentic Jobs - Come in, we’re hiring

Full-time and freelance job opportunities

Post a job and reach web professionals everywhere.

image

The Design of My New Blog

The more designs I do the more I learn, so I thought I'd share a couple of techniques I used in this design that were educational for me. The layout of this blog has taken a long windy road. Originally I intended to think outside of the box and create a completely liquid layout that would expand and shrink the content with the size of the window. Getting the main container divs and everything positioned was not a problem. In fact I have a liquid template that I use, which I plan to post in a later article. But in the end I resorted to a fixed width elastic layout because of the control I gain in the ability to set exact pixel widths of page elements.

Setting the Background Gradient

For this design I decided to make the background fade from a dark blue on the left to a lighter blue on the right. To do this the first thing I had to do was create the gradient. In photoshop I created a square shape with the proper width and centered that on a very wide canvas, around 4000 pixels wide just to be safe. Then just fill the left side with the dark blue and the right side with the light blue. Then all that needed to be done was set it as the background image and set the background-position to center. This keeps the background centered along with the main wrapper div which is also centered. It's a simple trick but I've found it incredibly helpful.

background gradient

Addding the Decoration to the Left Side

For the left side decoration I didn't want a simple decoration making the width of the content unneccessarily wide. So absolute positioning was necessary to make the browser window ignore it's presence. So all that needed to be done was to set the wrapper element position to relative, thereby causing all the absolutely positioned elements within to be positioned relative to it. So I just set the left decoration to absolute and moved it over the proper amount of pixels.

shifting the decoration to the left

Then you have a perfectly positioned decoration that won't force the browser window into horizontal scrolling.

correctly shifted left decoration

That's the main base of my new design. I'll try to go into more detail about some more interesting aspects of the design that proved to be challenging and educational for me. I hope you find it interesting.

posted in: CSS | Design |

Andrew • Mar 21st 2007 • 5:08 pm

Hey Uncle Dave! I was snoopping on exit42design and I noticed your logo, REALLY cool. Where did you get that pic?
A

Andrew • Mar 21st 2007 • 5:10 pm

Also, where did you get that font for Creative Bride. It's great!

Dave Joyce • Mar 26th 2007 • 5:31 am

Hey! Glad you like! If you're talking about my exit42design logo. I made that. And the Creative Bride font I got at Veer.

Angela • Jul 16th 2008 • 1:27 pm

I looove your blog“s design! (the brown one), definitely inspirational, cause I am looking something better for mine, congrats great job!






Blog | About | Contact

Copyright © 2008 Exit 42 Design