Please check out the new Help Developer forum

Show Sidebar

Part 1/4: Design and Code a site with Gimp, HTML and CSS

June 6, 2008

Many beginner web designers have trouble designing sites and then coding them properly and end up turning to tables and Dreamweaver. In this tutorial I will show you how to design a site in The Gimp and then code it in valid XHTML and CSS with divs and classes (not tables).

This is part one of a four part series on this subject, this part will be focusing on the design in The Gimp, part 2, 3 and 4 will be dedicated to coding it ready for the web. So keep coming back in the next couple of weeks or subscribe to our RSS feed.

So here we go:

-

Step 1

Create a new image in The Gimp, make it 960px (width) by 900px (height) and fill it with dark gray (333333)

-

Step 2

Now create a new layer 900px wide and call it page, fill it with white (FFFFFF). Use the arrow keys to move it into the center of the image like this:

-

Step 3

Go to Filters -> Light and Shadow -> Drop Shadow and set the Offset X and Offset Y to 0 and unclick Allow resizing, then click OK. This will add a shadow to the page area.

-

Step 4

Create a new layer called Header and make it 900px width and 150px height, move it into place like this:

-

Step 5

Set the foreground colour to 205974 and the background colour to 84a3e3 and select the Blend tool. Click and drag from the bottom of the layer to the top to create this effect:

-

Step 6

Select the select tool and click and drag a rectangle of height 5px at the top of the layer and fill it with the foreground colour.

-

Step 7

Now duplicate the layer and press Delete to empty the layer of its contents, this will save you time as you don’t need to create a new layer and position it. With the select tool, click and drag across the layer making a rectangle 100% width and 1px height and fill it with black (000000) and exactly below it do the same, this time filling it with white. Then change the opacity of the layer to 10.0. This will produce this effect (if you have difficulty understanding this, then check out my tutorial on this here:

-

Step 8

Duplicate the page layer and delete its contents, then using the select tool draw a rectangle down the right hand side of the page area with a width of 320px. Fill it with 84a3e3 and change the opacity of the layer to 15.0, this will produce this:

-

Step 9

Now create a new layer with a width of 900px and a height of 100px and call it footer, place it at the bottom of the design like this and fill it with 205974:

-

Step 10

Go to the top and click the Text tool. Click under the engraved area and add the menu items you would like, change the font to Arial Bold size 14 with colour white (FFFFFF) and move the layer so that it looks like this:

-

Step 11

Duplicate the top header layer and delete its contents, now under the engraved lines draw a rectangle and fill it with white (FFFFFF) and change the opacity to 10, this will create this effect:

-

Step 12

Finally, add you logo by using the Open As Layers option on the File menu and place it at the top left of the header area like this:

-

And that’s it for this part, we have created a simple layout which we will slice in the next part of this tutorial and make it ready for coding. There are much better designs that you can do in The Gimp but I just want to show you the basics in this series. As I said at the top, keep coming back or subscribe to our feed to be notified when the new parts are up.

View Part 2

Submit to Stumbleupon Submit to Del.icio.us Submit to Google

SUBSCRIBE TO RSS

RSS FEED - EMAIL FEED

Comments RSS Feed

27 Comments

Comments Trackbacks
  1. Thomas Says:

    When will Part 2 come out?


  2. Simon

    Simon Says:

    Sometime in the next couple of days


  3. Tylor

    Tylor Says:

    Hey no part 2? :(


  4. Simon

    Simon Says:

    I’m going to try and so part 2 tomorrow, it should be online sometime in the afternoon (GMT)


  5. anjana

    anjana Says:

    hey, the part1 tut was good. Looking forward for part 2 soon.


  6. lexor

    lexor Says:

    gotta love it :P


  7. Philaèthe

    Philaèthe Says:

    Awesome ! I was searching this style of tutorial for a long time. Found it. Tried it. Adopted it.

    Very gooood explanations ! Thanks !!!


  8. Marty

    Marty Says:

    I really got a lot of good out of this. Thanks!


  9. webmaster

    webmaster Says:

    i don’t undestand.. im new in GIMP.. i;m confused


  10. webmaster

    webmaster Says:

    in the step 4.. how can i move it to up?


  11. Simon

    Simon Says:

    @webmaster

    Make sure you have the rectangle select tool on (shortcut: R) and use the arrow buttons on your keyboard to move it up. Hope this helps and good luck.


  12. faisanroses

    faisanroses Says:

    Hi guy!
    At first, my congratulations for your tutorial: it’s bloody brilliant! I’m learnin’ a lot.
    But I’ve a question for you: which format do we choose when savin’ the project for continuin’ on another moment? tiff, psd, etc…?
    Greetings.


  13. bAck

    bAck Says:

    hi Simon,
    what i must do in:
    Step 6
    Select the select tool and click and drag a rectangle of height 5px at the top of the layer and fill it with the foreground colour.
    ??

    (im not from USA or UK …, my english is very easy)
    Thanks for help


  14. bAck

    bAck Says:

    please, your andswer send here, thx


  15. Simon

    Simon Says:

    Hi, bAck.

    If you look closely at the top of the image in step 6 you will notice that there is a selection being made, this is what I mean


  16. dj

    dj Says:

    Suggestions: In your tutorial, immediately name new layers. When referencing a layer use the specific name and not just “the layer”. Occasionally show the GIMP Layer Dialog so the reader can make sure they are in sync. I’ve only finished part 1, but nice job. I’d be interested in how you think about what colors to use in combination.


  17. brian

    brian Says:

    awsome tutorial

  18. nemetral Says:

    Good tutorial. It’s nice to advocate the use of Gimp!


  19. coder

    coder Says:

    awsome tutorial,but need better explain part 6 and 7,i got stuck there


  20. coder

    coder Says:

    never mind,i got it anyway:D

  21. chakaboo Says:

    thanks. its very helpful :) iam Russian and speak runglish, sorry :D


  22. Mr_Anderson

    Mr_Anderson Says:

    Very nice tutorial! Though, I’m stuck on 6, 7, and 8.. Why would I duplicate a layer if I’m gonna delete its contents? It doesnt make sense to me



Leave a Reply