The Complete Website Tutorial

Average: 4.3 (102 votes)
Preview: 

All in one tutorial,Design your layout with Gimp, slice it and code it, here is the outcome of this tutorial....

1) Images maybe too dark as I was looking at the layout from my old computer and the images very tooooooo dark. I made this tutorial using my new computer and the screen is really bright so I apologize if the images are too dark.2)You must be pretty familiar with how GIMP works as i don't have pics for every single step as this tutorial is mostly your imagination.
3)Images maybe low quality from what they were designed to be since the file format of pics (to reduce file space) is .jpg. Thanks.
4)I would like to apologize for the delay as I've been sick and wasn't able to post sooner.

This is what we will be doing:
1) Planning and thinking
2) The Sketch
3) Navigation
4) Content Boxes
5) Slicing the layout
6) Adding content to HTML document
7) Making the style sheet

Before starting to create your site, you may want to consider the following. First of all you have to know, which kind of site you are going to make. Is it a designer site? Clan site? Car selling site? Or whatever. After considering that, your site must have a name. The name is one of the most important things. Your name must be easy to remember, and also when someone hears the name, the first thing they think about must be your site. Now you must ask yourself some things: Why? What do you want to say? To whom? What do other people benefit from it? What do you yourself benefit from it? Now you must think about the theme / colors for your site. To pick the right colors is also a very important thing to think about. In this tutorial I am going to recreate GimpTalk home page. I will choose some dark colors for it. Some dark Wilbur’s brownish color for shade probably / black / grey. After considering all those things, I think we can start making the layout!

Start of by making a new layer 900x600 and fill a new layer with the background color of your template.

Now take your Rectangular Selection tool and make a selection for you banner.
A banner is nothing more than a larger version of a sig thus I will not be going into much detail of how you should make a banner but I would like to say that make something that will compliment to the style and the color of your web page. If you don’t know how to make a banner find a sig tutorial and instead of making sig size canvas, make something like 900x160 (banner size). BTW my banner size is 900x160.

Now that we have the banner, make a new layer and then take your Rectangular Selection Tool and make a selection right below your banner as this is where the buttons will go

Now take you gradient tool and with your foreground color to black and background color to something that compliments your style and banner, run a gradient. I used black and white.

Now we will stroke our selection to give it more depth. I personally don’t like using the Stroke Selection to stroke my selection instead I use a 1px default brush to draw the lines. To make it simple for us I’ll use the stroke selection from the edit menu. Select your button layer if already now selected and then go to Layers>Transparency>Alpha to Selection and with the selection selected create another transparent layer. Then go up to Edit>Stroke Selection and stroke the selection with a solid line of one pixel. If it works fine for you and looks nice don’t change the layer mode but for me it doesn’t do a stroke of one pixel thus I set this layer to Overlay. Experiment with your stroke layer to see what works best for you.
It may not be that clear but this put across a black canvas is clearly visible.
Right After Stroke:

After changing the Layer Mode:

Now for creating boxes the put text, pics etc in.
Start of by duplicating your button layer. Then to the duplicated, scale it for height so that the width is same as the button row but the height is smaller for the scaled layer. Note I will refer to this layer throughout the rest of the tutorial as maybe scaled, button layer or something of that sort so you should know that I’m referring to this layer.
Button layer duplicated:

Scaled afterwards ( please ignore the black space as it is not part of the scaling. Thanks. Tell me if I should clarify more.)

Very Important: Since we want to create a field for the content, rotated the scaled layer that you created by 180 degrees or upside down. Note again please ignore the black space since to save me time I rotated what is being displayed up.

Now depending on how you want to lay out your website, created using the scaled layer of buttons places where the content will go.
First we’ll define the size of the top of the content box where the title will go.
This is what we’ll be doing ultimately so if you understand/know where and how I’ll do it, please feel free to skip the next few steps.

First of all with the scaled rotated button layer selected, go to Layers>Layer to Image Size. Select part of the button content.

You should now be able to move the selected floated layer.

Move it to where you want to place it and align it with the other content of the layer so it looks like a whole.

This is what you should have now. Note this is only an example and you should define the dimensions to how big you want this contents box to be.

Now we will define the background of the contents box. You should at this point chose a color for the background of your contents box that will blend in well. The easiest way to chose a color is to zoom into to the scaled button layer and using your color picker, chose probably the second to last pixel from the color. I say this because the last pixel if you were following my directions is stroked and when we put this contents box together, we will want the “written stuff” to stand out.

After you’ve done that. Make a new layer and with the dimensions of your contents box defined, using the Rectangular Selection Tool , make a selection on your new layer with the dimensions that you have decided on. Fill the selection with the color you picked as you background color. Now make a new layer and stroke the selection (if the selection is not selected go back to the layer with the background for your content box and go up to Layers>Transparency>Alpha to Selection and then active the layer you just created) with white or complimentary color to your theme of one pixel and set to overlay or other mode that’s to your liking.

Now that we have ourselves the background of the contents box, we will now add the headers. Now duplicated your scaled button layer and places it above the background you just created. Make sure that your scaled button layer covers 1px of the background cause we don’t want to show two overlays. Do the same thing for the bottom (note you don’t have to cover 1px from the background layer if its not visible we’re applying this so that only one sharp line is shown for depth). Duplicate you scaled button layer and rotate it by 180 degrees and place it at the bottom of the background layer if you have to adjust the sharp lines feel free to do

Do this till you have what you were looking for as far as the layout. This is what I have so far: (mind the white boxes as those are for references)

Time to add text. Pick you text tool and using a http://www.dafont.com/font.php?file=visitor]Pixel Font write the text for the navigation layer as well as the contents box.
Then draw one pixel lines by the height of your button layer and then duplicate them as many times to separate your button like so.
Also duplicate your scaled button layer and stretch it across the bottom as this is where you will be inserting the copyright information. This is how my canvas looks so far:

Optional Step Involves Javascript-
In a lot of websites when you scroll over a button, it either glows or some sort of effect happens. To make our buttons more interesting we will apply a glow to the buttons when scrolled over.
To apply a glow select your button layer below the banner and then go to Layers>Transperancy>Alpha to Selection and then make a new layer. With your foreground color set to white, apply a gradient to the selection on the new layer.

You should now have something like this:

Play with the opacity till you have something that you like when scrolled over. After you’ve got something that you like go to the layers dialog box and click the little eye icon next to your glow layer.

This is what you should have so far:

Now we will slice the images.
Now go to Edit>Copy Visible and paste the contents on a new layer. Then using your selection tool pick out different parts of the image and save them separately. Note the background for the contents box should be widthx1px as you may want to use different size fonts when tying text and you will not want to have extra space left over. This is what you should have after you're done. For the sake of the tutorial I showed all the selection on a single page but you should do each selection one at a time and then save it as a new file. Having the canvas size defined for your image is pretty easy. When you have your selection selected copy it and then in the file menu go to new and then canvas size should be the same as the image. save all your images as either .gif or .png. I'd go with .png cause it has more colors. We need a transparent file format

This is what I have so far after selecting everything: NOTE some of my boxes very same length so I used the same image again when I coded.


Click to Enlarge

Now to code the website. Make a new html document and create a table with 1 coulmn by 4 rows with zero cell spacing & padding and align the table if the center. (NOTE [don’t need to read if you don’t have borders-skip this part] depending on how your web layout was made there maybe gutters, don’t know the exact term but on a lot of websites there are vertical borders on both sides if the layout is made to be in the middle. If that’s the case depending of if you want the copyright bar, buttons, or banner to be inside the bar, then create a table with 1 row and 3 columns and place your borders in the outer two columns and then create another table inside you middle column with 1 column and 4 rows and follow below)

Now start placing you images in the table, just make sure you have the tables height and length defined or to auto fit. For me it was banner in the first row, navigation below that, contents space where I added another table to separate and get some more contents. And you should place your copyright in the last row. I’m not going to show you how to add each table. Just keep adding table and such till you have what you need. If you have any questions regarding tables and coding feel free to pm me. Now for those who don’t want to spend their time, you can take the source code from the html file that I’ve provided. To take the source code you shall Right click, and press View Source, Show the pages source or something similar to that (according to your browser). Then you shall Copy / Paste it over to your page. Now we just need to make a Style sheet for our page.

it looks all right now, but it needs a style sheet! A style sheet is basically a document that defines how a page will look. Below is if you want to create it using code. A lot of website development softwares allow you to add this content without right codes by hand if you format the page. You just have to find page properties, background, text and such. If your program does not have this follow the example I’ve provided below.

Basic page > CSS width=589 height=442> 2. First we will define the background, write: body { background-color:#061B33; } Let us break it up: body{ means that it is something for the body we will define. background-color:#061B33 Means that the background color for body will be #061B33. } Means that the body definitions end. 3. Now for some more definitions, write this: td, th { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; color: #CCCCCC; } Let us also breake this up: td, th { Means that is it tds and ths we will define font-family: Arial, Verdana, Helvetica, sans-serif; means what font it is, Ariel first, then if a guest don't have Arial, it will be Helvetica, and so on. font-size: 11px; Defines how big the text will be. color: #CCCCCC; Defines which color the text will be. } Means that td and th definations end. 4. Now for some link styles: a { color: #3366CC; text-decoration: none; } a:hover { text-decoration: underline; } I don't want to break it up, I think you got it now.

We are almost done, view the source code for your html, make sure you define the title. The title is what the browser displays in the top and also in the taskbar when you view a page. I don’t think I’m missing anything so I guess we’re doing. Make sure that you host all the pics and I would really like to see results as this was my first tut. Thanks for following this tutorial.

I would like to see results and if you have any questions, feel free post right here.

You can easily check out our high quality testking 642-447 dumps which prepare you well for the real testking 70-685 exam. You can also get success in real exam of testking 000-978 with the quality testking 70-515 questions and testking 642-374.

Visitor's picture

wrong linc =) sory bed

wrong linc =) sory bed eanglish =) u have not worker link =)))) see hhttp://gimp-tutorials.net/websitetutorial hh - its wrong
Gimper's picture

Re: The Complete Website...

fixed,thanks for letting us know :)
Visitor's picture

Black space

Hello Gimper, I try this, however I am not so familiar with Gimp yet. Now I have problem with this: "Very Important: Since we want to create a field for the content, rotated the scaled layer that you created by 180 degrees or upside down. Note again please ignore the black space since to save me time I rotated what is being displayed up." You mean black space: the edge round around the graduated rectangular area? There is a lot of black space on your picture and I have only a small edge of the strip. Would I make black background for the layer? 2. Shall I use the rotated lath to slice it for buttons? In that case my buttons are lighter uppside (and not so discretly gradiented as yours.) 3 Then put the buttons over the not-rotated lath which is gradiented? Maybe my questions depends on my difficulties in English. This tutorial is too free for me. I like to follow exact instructions, and not my own taste. I like to learn the steps first and then dance... But I continue anyway, you like questions :) /Ivan
Visitor's picture

Wrong questions?

This is not an answer, only I cannot champ the bit with impatience. Please, tell me, if my questions are so much silly, that it is impossible to answer it. In that case I don't wait, but continue the tutorial as well as I can. /Ivan
Gimper's picture

hey Ivan

hi Ivan,this tutorial wasn't written by me so I'm not familiar with its steps :D, but i can still try to help. how about you upload what you have created so far to imageshack.us so i can see whats the problem because I'm not sure i understood your questions are.
Ivan's picture

My masterpiece

Ok, thank you little mouse, I try: [URL=http://img528.imageshack.us/my.php?image=webgimpquestionyy0.jpg][IMG]http://img528.imageshack.us/img528/761/webgimpquestionyy0.th.jpg[/IMG][/URL] So you can see if I could show this, that I have the flipped ribbon downstairs and I beleive that it will be sliced to make buttons and put it onto the ribbon uppside. It must be a missunderstanding, because the ribbon doesn't seems or if it seems between the buttons, it is gradiented uppside down, not a nice contrast. Now I have 2.4 and I have still a basic problem to move the selected piece. It will move whole the layer or only the marching aints, just not that part I selected on this layer.
Ivan's picture

Re: hey Ivan

Gimper, maybe "little mouse" was not the right form of adress, but it was a sweat mouse beside your message and i tried to joke. I hope, you are not angry for this.
Ivan's picture

Any answer?

Please, Gimper or the author of the tutorial or any gimp-expert, now you could read and see my problem, can you help me with thie.
Gimper's picture

Re: The Complete Website Tutorial

:D don't worry about the little mouse thing i knew you were joking, you have a lot of white space why not make make the background black using the paint bucket? or create a selection as big as the white area then fill it with black. i don't understand why you can't move it, you click on the layer that you want to move then select the move tool or press M but make sure you click on the right layer or els it will select the previous layer you were on.
Ivan's picture

The buttons are not flipped

My problem was not how to make the background black, but if I do the right thing. The author says: "Very Important: Since we want to create a field for the content, rotated the scaled layer that you created by 180 degrees or upside down. Note again please ignore the black space since to save me time I rotated what is being displayed up." This is about the fields for the contain, they have a ribbon upside and a vertically flipped ribbon downstairs. But the buttons are not flipped, so I wonder, if slices of the ribbon will placed side by side onto a ribbon? The flipped ribbon has nothing with the buttons to do, has it? Maybe it will be clear when I continue, but if I make something wrong, it will be more difficult to find where I missed.
Ivan's picture

Layer to image size

"Layer to image size" makes whole the ribbon disappear. I do exactly according to instructions. Is this a bug in 2.4? I am happy for every answer, but it would be best to discuss with the Author. Author, please!
Gimper's picture

Re:Layer to image size

hmmm wish i could help but i feel totally lost as you :( sorry about that. if you would like you could message the author himself from his profile http://valorstudios.deviantart.com
Ivan's picture

Hello Author!

Thank you, Gimper for you tried. I never know if I do something wrong or the Gimp-version has some bug. Now I have downloaded 2.3.19. which is not stable but it works better than any other versions according to experts. Now the "layer to image size" doesn't erase the image like in the other Gimp, but I cannot see the difference. If I only select and move the selection gives the same result as I can see it. And why would we flip the buttons? Anyway, it is nice that I am not alone to not understand this. I feel less silly. It would be easier if every step would be numbered. I strongly want to make this tutorial, because it is a good start to make interesting layouts for home-pages.
Gimper's picture

hey Ivan

hey ivan, you downloaded 2.3.19? 2.4 beta version is out and much better, dosen't have those annoying Dos screen as well. are you running on windows? if so download it from gimp.org if you cant find it let me know ill get you the link. probably give it a go and create a tutorial! :) i wish more people would create tutorials for gimp! i been abit busy with work, but its on my to do list, i'm going to create a template tutorial but for beginners so its very easy for them to follow. like the web 2.0 text logo tutorial. i like the determination you have :) its great keep it up and never give up!
Ivan's picture

3.19 is better

I had 2,4 before and claimed in Gimptalk that it was impossible to do basic things, like move a selected area. PhotoComix who is a Gimp-developer answered me: "WAIT A MOMENT...you write that you use gimp 2.4...if you use Windows i really advice you to uninstall it immediately and try instead gimp 2.3.18 or 2.3.19...they have all the most relevant improvement of 2.4 but seems much more stable then the actual Release Candidate of Gimp 2.4 (this on Windows)" You can read the whole text in Gimptalk http://www.gimptalk.com/forum/topic.php?t=24346&start=1 message Sep 13, 2007 at 07:48:45. And really, things work better in 3.19. The black field and the flag are really uggly, but I can look out the window (the real one) until they disappear. I have learned a lot now about Gimp, e g how to use paths. So I am not so green already. But I still doesn't understand, wy to use buttons upside down in this tutorial. (I can make it, but why?) I am happy you plan to make an easier tutorial about the same thing. I hope it will be numbered steps, because I loose controll over my eyeballs (imagine this in animated film) when I try to find the last step in a floating text.
Ivan's picture

Webmaster! Please!

I wrote earlier it would be better to have the tutorial in one topic and the comments belonging that tutorial in another topic. Every time I submit a message, I find myself at the beginning of the topic and I have to scroll just here 2 times. It will be worse when the debate gets really long, maybe I have to scroll ten times. Ok, there are bigger problems in the world, but if it is easy to arrange it better it would be nice. Or what do you think, all members? (This question can cause a lot of scrolling here)
Gimper's picture

all help questions...

ill look into puting all the comments on the last page but i think it can't be done... anyway ill check it out.. for now could you and anyone els that need help to post in the forum section under "help please :) thanks http://gimp-tutorials.net/forum
Ivan's picture

Website med css

I don't give up... I should like to make this ready. Or any other complete website-tutorial, css included. Gimper, your website tutorial is nice, but this one is more complette, with the css. Sorry that I have problemes at the beginning.
Ivan's picture

No more help?

I only repeat my request above. Please, help me to make a complete website tutorial, this or any other.
Gimper's picture

Re: The Complete Website Tutorial

i had this posted on the other website tutorial see if it helps. Coding it into Html/Css isn't that hard but it needs alot of effort.probably its best if you used a WYSIWYG like dreamweaver (Visual Html Editor) here is one thats free..http://visual-html-editor.qarchive.org/ all you need to do is slice the images and cutting out sections of the template save them as seperete images and then putting them together with a WYSIWYG like dreamweaver or which ever you consider going with. but if you would like to do it the right way i would advise learning from http://www.w3schools.com/ start off with just html then xhtml then CSS. at first you might feel overwhelmed, i know i was, thats why i stick to just designing most of the times :D if you don't have time to do it your self and your project is important then you could always find someone on webmaster forums and pay someone as little as $15-$30 or less to code it to Html/css
Visitor's picture

Hello everyone This tutorial

Hello everyone
This tutorial is awesome,but I have one problem my gimp is russian version...I want to make it into english but I dont now how..
help plz

Gimper's picture

Re: The Complete Website Tutorial

Photoshop Brushes's picture

nice tutorial Photoshop

nice tutorial Photoshop Brushes

Pete's picture

Hey Gimper. I've been

Hey Gimper.

I've been looking for your tutorials for while and they are really really good! Including this!

But I would like to get coding for this http://gimp-tutorials.net/blog-theme-design-with-gimp as I got no idea how to code.. I would make website with it :D

Gimper's picture

Re: The Complete Website Tutorial

There are two options you have.

1: Pay someone to convert you're design layout to xhtml/css for $$$
2: Use google to search for tutorials and guides on how to convert image layouts to xhtml/css

none are easy but those are the options :)

Cyrilshark's picture

Re: The Complete Website Tutorial

I'm confused on how to convert the site to html...
I didn't follow yours of course because you said to make it different...
So how would I convert MY site to html?
Thanks.

Gimper's picture

Re: The Complete Website Tutorial

Please read the comments above yours :)

Anonymous's picture

Hi, I don't really understand

Hi, I don't really understand in which program I'm supposed to "make a new html document" in, got any ideas/step-by-step? I've designed a thing in GIMP and I need some help with inserting a music player in it, and overall-coding. Thank you.

Anonymous's picture

Huhuh, sorry, didn't read

Huhuh, sorry, didn't read :'>
Would be nice with some tips though.

charly's picture

Hello There Guys, nice

Hello There Guys,
nice tutorial. I'm a beginner in Gimp so don't get upset if my questions seems boring, ;-), anyone has to begin somewhere. I have a Guy helping me to code my Page but it just seems like his designer is not really motivate, So does one of you Design guru help me to design my menu-bar? I'm been struddling to do that since 1,5 hours now and will keep doing it, but the Page should be up by tomorrow or in 2 days, and I believe this is a <=15 min task for a Pro. here is the page http://is.gd/gcK9, the menue bar is suppose to look like a combination of this menu bar, www.hulu.com and this menu bar www.apple.com (searchbox and character font and color + hover effect color). And if you have time and want to make more nice things for today, you may also redesign the Hotnews Box to look like this Box in iTune http://www.apple.com/itunes/whatsnew/ . And please if you can't or want do that, don't just post answers like "go to freelance portail, pay for porting a menu design work and lwait for people to bid, transfert money to paypal, and etc..." I just think it doesn't worth posting a project on a freelance page for that, but I may be wrong. I may also give the one who help me credit on the blog of that page.

Thanks

Hessiess's picture

As you are talking about your

3

As you are talking about your monitors looking very different, it sounds like you need to calibrate your monitor. A monitor should be calibrated to the ambient lighting level, new monitors, especially LCDs are almost always far too bright. See http://www.photofriday.com/calibrate.php for more information on monitor calibration.

Overall not a bad tutorial, though you rilly should not use tables for layout, or(more impotently) put the text on the buttons, doing so without an alt attribute makes them invisible to search engines, and makes it imposable for viewers with poor eye site to zoom the text on the page. Try using the Sliding Doors technique insted ;)

FireC4p3's picture

Hey im new to gimp just

Hey im new to gimp just started yesterday so when u make this do u have to put it on a website or how would u put it as the layout on your site?

sarah's picture

is there a way to slice

is there a way to slice image? like in photoshop? and how to install the save for the web plug in thanks for the help!

Visitor's picture

What he is saying is that

What he is saying is that sometimes a program like photoshop or gimp may have a coder already built in. I can't find one in my own version though. If you don't have this open up you favorite text editor and add the code using the parts and pieces as images. Kinda hard to explain when trying not to get technical. Use this link http://www.w3schools.com if you get stuck. They have some pretty good explanations and its all free.

Andrew's picture

Hi, thanks for your awesome

Hi, thanks for your awesome guide, though I have a problem. I do not understand the part where you start coding o.O. I made the website layout as i like it and i want to change my website's layout to the one i made. My website is on Webs, formally Freewebs. Please help me understand how to code like you said. Thank you.

Post new comment

The content of this field is kept private and will not be shown publicly.
 
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

Tags