Try Tuts+ Premium, Get Cash Back!
Preview

Use Adobe Illustrator to Create a Clean Website Layout

Tutorial Details
  • Program: Illustrator
  • Difficulty: Beginner
  • Completion Time: 1 hour
Download Source Files

Final Product What You'll Be Creating

This tutorial is perfect for the beginning to intermediate Adobe Illustrator artist. We’ll cover how to layout a website and prepare it for use on the web. Also, we’ll use the recently released Website Elements Freebie to mock up the design as well.

Republished Tutorial

Every few weeks, we revisit some of our reader's favorite posts from throughout the history of the site. This tutorial was first published in November of 2008.

Want access to the full Vector Source files and downloadable copies of every tutorial, including this one? Join VECTORTUTS PLUS for just $19/month.


Step 1

Start a new document with a width of 960 px and a height of your choosing. I’ve chosen this width because this website will likely incur internet traffic who have average to large monitors. A width of 960 pixels is a safe size that will favor the majority of visitors. Last, set your Color Mode to RGB.


Step 2

The black border shows the document size (called the Artboard) that we created. I like to place a blank screenshot of a browser window on its own layer while I’m designing, to get a good idea of what my website will look like when it’s done.


Step 3

This next step is very important. Make sure you are aware of what zoom you’re viewing the document at. When all is said and done, your website will be seen at 100%. Feel free to zoom in and out while working on your layout, but be certain all your text and design elements are readable when viewed at 100%. Use the drop down highlighted below (or simply type in the percentage you want) to change the zoom to.

Sidenote: sometimes Adobe Illustrator gets testy and doesn’t show the numbers as you type them into the zoom area highlighted below. For example, if you type 58% sometimes the numbers don’t change as you’re typing. If this is the case, simply press return after you enter your values, and your document will be resized to the number you entered.


Step 4

The Artboard can be toggled between visible and invisible by going to View > Hide Artboard. The problem with this is that it takes a little longer than showing and hiding guides (Command + Semicolon Key) So, I find it best to use guides and hide the Artboard. Over the course of laying out a whole website you will find it much easier to press a quick key command rather than going to the top of the screen and selecting from a list every time.


Step 5

You may find it easy to establish balance and a nice hierarchy by first drawing simple grey boxes on your page. The thin rectangles represent where I plan on using text while the large grey boxes will be images.


Step 6

After you have a general idea of what the layout will look like you can add guides and remove the grey boxes.


Step 7

Using only the guides as a reference, add other elements like navigation, text, and tighten-up where the logo, images ,and icons will go. It is helpful to toggle your guides on and off (Command + Semicolon Key), while you are finessing the layout. If the guides you drew don’t work as well as you thought, definitely adjust them as you see fit.

Sidenote: when you toggle guides on and off they automatically become locked. You cannot move locked guides. To unlock guides quickly press Command + Option + Semicolon.


Step 8

Continue finalizing your header with images, icons, and graphics.

Step 9

Below I’ve decided to add a light blue color to enhance the header.


Step 10

Add styling to your text, making sure to decide what links and headings will look like. I find it much easier and faster to accomplish as many design elements inside Illustrator so I can concentrate on programming and coding the website when the time comes.


Step 11

There are a couple different ways to prepare a design for use inside a WYSIWYG (What You See is What You Get) editor, like Adobe Dreamweaver. The first method is using slices. Slices can be made using guides or a selection. To use guides to make slices first drag guides onto your page around each object that will require its own link. For example, an icon that, when clicked, goes to a specific page. Below I have four icons, each icon will lead the visitor to a different web page or area of the site.

I have drawn guides between each icon and just outside of the blue area. It is usually cleaner if you draw your guides about 1 or 2 pixels outside of the area that you are slicing. This ensures none of your artwork will be cut off.

Sidenote: Do not draw guides over your entire layout at once. Instead, do sections one at a time. For example, first do the header area. Clear all of your guides by going to View > Guides > Clear Guides. Save your slices for the web (discussed in a later step) and repeat this process for other areas of the layout.


Step 12

Once you have your guides drawn the next step is to make slices out of them. To make slices from your guides go to Object > Slice > Create from Guides. On occasion, Illustrator may not make slices the first time you attempt to. I have found that I sometimes need to repeat this step three or four times before Illustrator actually will make slices. Below, the black numbered boxes indicate that the slices have been made.


Step 13

To save your slices for use on a website go to File > Save for Web & Devices… Use the Slice Select Tool (K) highlighted in the upper left corner to select the specific slices that you want to save. Select multiple slices at once by holding down shift. Adjust the settings on the right to suit your needs. JPEG images work best for items that have several colors, while the GIF file format works well for items that have large areas of color and not many colors in general, PNG file format works well for transparent graphics (though may require some work to adjust for older IE browsers). You may want to test quality versus file type and adjust the Quality to save bandwidth. Once your ready, click Save.


Step 14

Decide where you want to save the images to. I’ve chosen the Desktop. Under format select Images Only, then click Save.


Step 15

On your Desktop you will now have a folder called Images. Inside this folder will be the specific slices (images) you selected. These images are ideal in resolution and file size for use on the web.


Step 16

As mentioned in Step 11, clear your guides by going to View > Guides > Clear Guides. Now, draw new guides around the next area that you want to slice. The hover state (when the mouse is over the navigation) will be red, while the off state will be grey. You will need to make both versions of the navigation. To efficiently accomplish this, first make all of your navigation red then go to File > Save for Web & Devices…


Step 17

Select the specific slices you want to save. Since my navigation is not made up of images or an abundance of colors I have decided the best filetype for the navigation will be GIF, then click Save. Also, note that if your user a web supported font, then you may decide to use html text instead of images.


Step 18

You can give your images a new name at this point. However, they are automatically named for you so this is not mandatory.


Step 19

If you saved your images to the same location as before, you will notice the Images folder on your Desktop now includes the additional images you just saved. Repeat Steps 16-18 to make the off state for your buttons.


Step 20

Keep in mind this is just one possible workflow. Alternatively, you could place on and off states somewhere in your document, create all your slices, and export them together.

The other method of creating slices is by selecting an object then going to Object > Slice > Create from Selection. Creating slices using guides or from a selection is fine as well. Use a workflow that you find comfortable and best for the particular project you’re working on.


Step 21

On occasion you will not need to include the text that falls within a slice. For example, the footer will have text that is typed inside of the WYSIWYG editor. If this is the case simply delete the text before or after you make the slices, but previous to saving the slices for the web.


Step 22

Below you’ll notice that I deleted the text after the slices were made.


Final Image

Observe the final website. As you can see, laying out a website in Adobe Illustrator is simple and effective. You can quickly experiment with design and give this phase of the web design process the attention and thought it needs. You can view the final image below or view a larger version here.

Subscribe to the VECTORTUTS RSS Feed to stay up to date with the latest vector tutorials and articles.

  • http://www.shprint.ir چاپ

    Thanks for tutorial!

  • John

    Is a great tutorial
    comprehensive and easy to follow, great tips

    thanks!

  • http://www.itdesigner.ir طراحی وب سایت

    Thanks for tutorial!

  • http://www.pxleyes.com/tutorials/illustrator/video/ Illustrator Video Tutorials

    Tight design… Sure looks professional… Love the Cyan-red combo.

  • http://www.jonathanpatterson.com Jonathan Patterson
    Author

    Wow, this is from forever ago!

  • http://www.indiabucket.com/ Rakesh Kumar

    All steps cleared mentioned, that’s why i love this website.

  • Killustrator

    This whole method disturbs me, as a web developer and an illustrator. Go ahead and use this for personal stuff, but this is not how professionals work and it scares me that some people out there might think it’s okay to sell websites to clients using these methods.

    • ja

      Are you kidding? I’ve been in the industry (web design) for nearly 14 years. This is how every company I’ve been employed by has at least started to design a site.

  • Bryce Vietz

    I want to do my design in illustrator, however I have cs3 and was told that this would not help for creating disjointed rollovers, or swapping images for a data list where you can scroll over multiple images. I was told I would have to use photoshop. Can I create disjointed rollovers with illustrator in conjunction with dreamweaver?

    • http://bucketothought.com/loungekat/blog/ LoungeKat

      Like CSS rollovers?

  • ab

    Use Adobe Illustrator to Create a Clean Website Layout is a good tutorials but i want to khow which option that i should choose in raster effect ( 72ppi, 150ppi or 300ppi ) for website. When in choose 72ppi and when i preview in browser the images are blur ( quality is very bad ). What should i do? Anybody can help me please.

    If i choose 150ppi or 300ppi i afraid that my website too slow loading in browser.

    • http://bucketothought.com/loungekat/blog/ LoungeKat

      Do you use save for web when you make the images?

  • juan

    Hi, someone know or can help me ?
    I want to know how to do this kind of animation for a web : http://www.skeyndor.com
    Thanks !!

  • Chris

    I really don’t understand this. Can you use the navigations that are in the document that you created? If not, then why put them in there? If so, how can they be used? Very confusing.

    • http://bucketothought.com/loungekat/blog/ LoungeKat

      It’s a template to cut up and import into Dreamweaver or another web program to add the code.

  • Gary

    How does one add the Facebook Like button to the AI file before saving for web & devices?

  • https://plus.google.com/116877848205729589878/ Pavan Kunala

    Interesting tutorial. Hoping to give a try.

  • http://www.maurisource.com Maurisource

    Nice one, Thanks for sharing this I was looking for this tutorial hopelessly!

  • http://www.studiorav.co.uk Ravi

    Thanks for a nice and easy to follow tutorial. I need help laying out my websites and Illustrator is well made for that.

  • Steve Parker

    Hi. Would appreciate some help with creating a website template in illustrator cs5. I have designed all my logos and headers and footers. But regarding the content for each individual page, do I need to repeat this so in total I have 18 completed website pages. ??? Thanks.

  • thuy_designer

    I’m glad to find this tutorial. It’s useful for me _ a new babie website designer

  • hello

    I dont understand what WYSIWYG is?

    I know it means ‘what you see is what you get’ but is it some add on program?

  • nell

    can this be used when you just want to make just graphics in illustrator for the web? or is there something else you have to do?

    i’m utterly confused. X (

  • Paula S.

    As a print designer who is very well versed in AI but has never created a website this is a very interesting and well done tutorial. I had no idea how Illustrator could play an integral part in creating sites and you’ve given me a bit more inspiration to branch out and give it a try. Thank you.

  • http://www.getherclothing.com Jason

    Quick Tip:
    Hide artboards = cmd + shift + h.

  • Bill

    look this site http://adf.ly/DAZJu

  • andy dunn

    Killustrator, please elaborate. Why is this method unprofessional? If it functions, what is wrong with it?

  • K

    good stuff… thanks