Posts Tagged ‘adobe’

How to create an Aqua button in Adobe Fireworks Video

aqua button tutorial How to create an Aqua button in Adobe Fireworks Video imageOne of things I promised myself last fall was that I would take a bit more time and start putting up tutorials for you but I’ve been so busy with projects since October that I simply haven’t had a lot of spare time.

This week is different, I’ve just put up a new YouTube video tutorial showing how to create an Apple / Aqua style button in Adobe Fireworks using just three circles.

To help you follow along, here are the steps in non video format …

Create a new document

I choose to do mine as a 200 x 200 pixel document but you can select any size you’d like.

Create a new circle

Add a circle to your document and size it to be the same size as your working area, located at 0,0. This puts it in the top corner.

Create the top glow

Copy (Apple-C) the base circle and past it (Apple-V) to create a second circle. Transform it (Apple-T) to be half the size and push it up near the top of your base circle. 

Create a linear gradient, white to white with an opacity of 100% to 10%. Then, add a gaussian blur to the circle to make it blend.

Create the bottom shadow

Copy (Apple-C) the top glow and past it (Apple-V) to create a third circle. Transform it (Apple-T) to be half the size and push it to be bottom of your main circle. Edit the  linear gradient, to make it black to black adjusting as you see fit.

Beveling the main circle

To make the main circle appear bevelled, select it and add an inside glow, adjusting the settings to suit your visual needs. 

When you’re done what you should have is a pretty nifty and easy glowing button effect for graphics on your website, I’ve included the YouTube video here for you if you’d like to follow along. Please don’t forget to comment or link to other cool tutorials if you’ve enjoyed this one.

How to center a header in HTML without using the center tag

The HTML <center> tag is one of those funny little tags left over from the early days of websites when designers often mixed the publishing of web content with design. These days, it’s much easier to separate content and design by using effective style sheets.

To center any text in HTML and CSS, we can simply add a couple of lines of code to our stylesheet file as follows:

[source lang="css"].center {
text-align:center;
}[/source]
This little code snippet will center the content within a block tag (such as a <p> or <h1>) but only if it already knows the width of the object you’re centering too! To get around this, we can simply add the display:block tag to our CSS:

[source lang="css"].center {
text-align:center;
display: block; 
}[/source]
Now our code knows to center text.

To apply it to our HTML code, you need to simply apply the code to an object as a class. For example let’s turn a heading into a centered heading by applying the new class like so:

[source lang="html"]
<h1 class=’center’>This is my header.</h1>
[/source]

 

It is of course also possible to simply align all <h1> tags to the center by using the code:

[source lang="css"]h1 {
text-align:center;
display: block;
}[/source]

What about converting existing pages?

Luckily if you already have a bunch of documents which use <center> tags there’s fairly simple fix for you to clean up those files. Using a tool like Adobe Dreamweaver you can do bulk search and replace functions across multiple files.

The replace is a two step process. (please backup your site before doing this)

First, let’s replace the phrase </center> with </div> across the entire site. This will change the closing tag (remember all tags come in pairs right?) to be a normal div tag.

Now, let’s replace the phrase <center> with <div class=’center’> to turn the opening tag into a div tag with the center class assigned.

You can now add the .center details to your CSS file and presto, your website is now using the proper center formating!

Five simple things I did to increase traffic to my website.

When I started thisismyurl.com I didn’t have a loyal base of visitors, in fact I barely had a trickle of traffic. For the first month, I only received a couple visitors each day but now, five months after launching my website I receive a few hundred unique visitors everyday. Still not huge numbers but it’s a start right?

I follow five simple rules that I believe helped me build a successful website, five rules that everybody can follow.

  1. I posted simple, honest content. Most the content on my website is designed for people with little technical expertise who need to solve a problem. This is an easy way to generate traffic, find a problem and help people solve it.
  2. I posted content often. While I was building my website traffic I often posted content twice a day to help establish new visitors, then once I knew people had taken the time to read my posts I began posting less frequently but with more focus on content.
  3. I posted what people wanted. I spend a lot of time looking at the stats for my website and I know what articles people read and which are worthless. The articles people read inspire me to write more (better) content on similar subjects while the less popular posts are reviewed and improved.
  4. I posted different kinds of content. When I started out I made a lot of mistakes (and still do) but by testing different content styles, I’ve learnt the proper length for many posts and how to make them more readable for the audience.
  5. I posted what I knew about. Instead of trying to chase trends or break news stories, I posted content designed to help business owners make better websites, a lot of it is still pretty technical but it’s getting more ‘people’ friendly everyday.

What I’ve learnt over the past five months is that people love free stuff. My post popular page by far is Fundraising Thermometer Plugin for Wordpress a free plugin for WordPress designed to help charities display their current fundraising level. My second most popular post is another WordPress plugin called WordPress Plugin to automatically update the copyright notice., a simple post to allow the display of copyright details on a post. Other popular posts on my blog have been:

  1. How to center content with CSS and HTML
  2. No More Frames Plugin for WordPress
  3. Code Free Pong
  4. How to make awesome 3d icons in Adobe Fireworks
  5. How to create a reflective website image in Photoshop

As a website owner, the best way for you to increase your website traffic is to understand what people want and give it to them. This might sound like common sense logic but often times we as business owners (because my website really is a business) forget that serving content is about the reader, not the writer.

Happy five months of reading my website, I look forward to another great month writing.

Web Jobs and What People Really Do

These days I spend a lot of time looking at job postings around the Internet, it’s a tough place to be especially since most recruiters have no idea what web people do and those who are aware of the industry are often completely unaware of the ridiculous nature of their requests. The other day I saw a posting on Monster for:

a Senior Web Developer with 6+ years Adobe Flex experience and a working knowledge of Word, office printers and networks.

First … Flex was only invented in 2004. Second, it’s a specialty … Flex experts are like dessert chefs, asking them to be good at washing dishes in addition to making authentic French meringues will not get you qualified candidates, it will get you dish washers. Here’s a quick look at what I believe are accurate descriptions of jobs in my industry:

Web Designers

A web designer is a pixel pusher, they use Adobe Photoshop or similar tools to create Graphical User Interfaces to be converted to Hypertext Markup Language. Ideal web designers sway to one of two sub specialties, they are either functionally capable Usability Specialists or entry level Web Developers in addition to being a designer. Web Designers are artists, akin to Graphic Designers and photographers and rarely have a university degree, though most go to college.

Multimedia Specialists

There are sadly, dozens of areas of Specialists in the Web field from those who specialize in Flash or Flex to QuickTime, Shockwave, 3D artists and those who work in the video or audio production fields. Often these Specialists will have backgrounds in design as well as their media specialization. Few in the industry have degrees, and only a handful have college diplomas since the work is profitable from an early age.

Web Developers

A web developer programs websites using the Hypertext Markup Language to convert a designer’s artwork into a language compatible with web browser technology. They are also capable of programming the interactivity of a website using PHP or ASP based languages, JavaScript or other languages. Web Developers are coders, similar in nature to C++ or Java computer programmers. 

Usability Specialists

The web is a marketing platform, the job of a Usability Specialist is to ensure the average user can successfully navigate a website and achieve the business objective, regardless of what the object may be. Often the Usability Specialist is also the Project Manager and has an obsessive nature geared towards Quality Control and meeting objectives.

 

Web Publishers

 

A Web Publisher is a data entry person, they’re job is to convert information from print or electronic form into web based content following strict document structure guidelines. After the designer and developer have put together the skeleton of a website, the Web Publisher works with Copyrighters and the Marketing team to ensure all content is placed in the right places before launching a website.

SEO Specialists

Unique to the Web, an SEO Specialist is an Organic Marketing professional who’s sole purpose is to increase the traffic rate of a web property through non paid advertising means. Often the SEO Specialist will also manage online advertising programs, purchasing and real world marketing but his/her real goal is to broaden the success of a website without paid placement.  

Web Managers

The Web Manager is the business brains of a website. They’re job is to manage timelines, budgets, analyze Analytics and convert web traffic to measurable business. In many smaller organizations they’re also Web Generalists capable of lending a hand in all other areas of the puzzle, those who have mastered multiple ares of expertise are often called Web Masters. This is a tough job, it involves managing the egos of artists and the surly nature of programmers while meeting tough deadlines.

Network Administrators

I like to call NA’s the Backend Boys but for some reason they don’t like that title. A Network Administrator is a specialist which every Web person needs, they don’t get a lot of glory and they’re often (rightfully so) the first to get blamed with things go wrong but a Network Administrator’s job is to run the hardware (physical computers) the Web teams software (the website) operates on. They spend long hours ensuring email, servers, data streams and corporate software work.

Director of Technology

These days, our companies have become technology saturated. The role of a Director of Technology is to understand the business objectives of the organization and utilize cost savings methodologies to deliver the best computer solutions possible. Simply put, they’re job is to always do more with less while ensuring the best people are capable of delivering timely solutions and the rest of the organization sees technology as a friendly resource, not an aggravation.

Chief Technology Officer

The CTO title always interests me, there’re rarely a Vice President of Technology in an organization so I’m not sure if the title is a silent salute to Star Trek. The job of the CTO is two fold, first they have to keep the technology of a whole organization flowing smoothly and they also have to plan for future technologies by knowing where the company needs to be down the road. Their job in short is to lead the whole technology team for the management team and to solve the problems of the business through new, innovated methods.

Hyper linking in Dreamweaver

HTML is all about something called Hyper Linking. Actually, that’s what the first two letters of HTML pretty much stand for … Hyper Text Markup Language but what does it actually mean? Well, oddly enough us geeks are not all that tricky to understand, give us a beer mug shaped like Yoda’s head and let us string together a few acronyms and we’re happy.

Hypertext is text on a page that contains a Hyper Link

A Hyper Link is a piece of text or graphic which links to another document. When a user clicks the Hypertext, they follow the Hyper Link to the new document. Not brain surgery but I completely understand how most people would never need to know that.

Using Hyper Links in Adobe Dreamweaver is, for the most part dead simple. To insert a hyperlink into your Dreamweaver document, simply ensure you are in Design mode and select the text you want to make a hyperlink. Next, using the Property toolbar, type the website address you’d like to link to.

How to make a hypertext link in Dreamweaver

How to make a hypertext link in Dreamweaver

There are actually several things you can do with a hyperlink, called protocols. Most people only ever know about the http:// protocol (the Hyper Text Transfer Protocol) but there’s also a ton of other protocols people could use including the https://, ftp://, mailto://, gopher:// and of course the nntp:// protocol. If you have no idea what these are, congratulations … you’ll almost never need to care in your life unless you’re a hard code web developer.

Once you’ve added an http:// link using Dreamweaver you can also force the clicked link to open in a new web browser simply by adding the phrase _blank to the Target field of your property bar. There are a couple of other neat tricks with anchor tags people should be aware of, but to accomplish them we’re going to have to switch to Code view in order to see the following code:

[source lang="html"]<a href="http://www.thisismyurl.com">This is my Hypertext.</a>[/source]
In addition to the href value (where the click will go), you can also add:

  • accesskey to make the link a keyboard shortcut
  • class to assign a CSS class
  • dir (rtl or ltr) to make the text run right to left or left to right
  • id to make the anchor text have a proper name
  • lang to assign a language value
  • style to format the tag
  • tabindex to index the tab order for the link
  • title to assign a title tag
  • rel for the link relationship.

Of these I would recommend most links on a website have an href value to show where people should go, an ID if it’s a critical link, a rel for defining relationship values and the title for SEO value. Typically then, a link should look like:

[source lang="html"]<a rel="nofollow" title="My Great Website" id="mainlink" href="http://www.thisismyurl.com">This is my Hypertext.</a>[/source]

Absolute Paths vs. Relative Paths

One of the great debates in web publishing is the choice between using absolute paths vs. relative paths. An absolute path is one which is mapped completely to the final destination (http://www.thisismyurl.com/tutorials/placing-page-content-in-adobe-dreamweaver/) vs. one that is linked relative to the document you’re currently reading (../placing-page-content-in-adobe-dreamweaver/) the main advantage of an absolutely path is that it’s locked, while the main advantage of a relative path? That’s it’s relative … in the end, it doesn’t matter so long as the link works.

This tutorial is part six in a ten part series.
  1. Preparing a website in Adobe Dreamweaver
  2. Building your first Dreamweaver Template file
  3. Structuring your website with Adobe Dreamweaver
  4. Improving the common elements in Dreamweaver
  5. Placing page content in Adobe Dreamweaver
  6. Hyper linking in Dreamweaver
  7. Working with Images in Adobe Dreamweaver
  8. Adding Cascading Style Sheets with Dreamweaver
  9. Putting your website on a remote web server with Adobe Dreamweaver
  10. Adding Google Analytics to your Dreamweaver Template

iGoogle by Apple?

igoogle iGoogle by Apple? image

OK, I’ll admit that the screen shot above is a complete fake. I mocked it up in Adobe Fireworks in about 30 seconds but on Matt Cutt’s blog this morning he wrote a post called How to Write a Chrome Extension in Three Easy Steps  which I’m sure most of you completely overlooked (shame on you) but just think about the fun you could have on April Fools day with this horrible, despicable … devilishly easy to write plugin for Chrome. :)

How to make awesome 3d icons in Adobe Fireworks

preview blogger 300x150 How to make awesome 3d icons in Adobe Fireworks imageSo last week I put up some great new icons for social bookmarking websites, then I went ahead and did it again. So you may have expected me to upload another set this morning but sadly, I’m most likely on an airplane at the moment or sitting in an airport waiting for our regional carrier to figure out if they remembered how to fly a plane or not.

Instead of uploading another awesome set of icons, I decided to try my hand at doing a video tutorial on YouTube instead. That’s right folks … now you can not only spend countless hours reading my rants, you can listen to me too!


 

During the tutorial I mentioned that you can download the files from my website, so here they are: 

Eight Awesome Icons for Popular Social Networking Sites

PreviewSo, some of you might already know my design partner Chris, he’s a Montreal web designer which roughly translates into he sits in cafe’s and reads poetry most of the time but last week, he uploaded a set of eight free social networking icons. They’re good but I thought that I could do something better so I cracked open a copy of Adobe Fireworks and put together my own eight social networking icons for your amusement.

Sure, his are vector but mine have funky shadows and if you’d like, you can wrap mine up and give them to your loved ones for Chris-e-mas.

Yorkville University

Yorkville University

Yorkville University

The result, a dynamic and professional website that can updated quickly and results in high search engine positioning.

Working with Christopher Bavota, I recently wrapped up work on the Yorkville University website. The website makes extensive use of WordPress to power a search engine optimized publishing system as well as Google Analytics to ensure near real time reporting for marketing and web statistics.

The artwork offers an expandable framework to accommodate the projected growth of the school while the site itself is built to be W3C compliant and work on browsers ranging from a Nintendo Wii and various handhelds to traditional web browsers. The site was fully tested across mobile platforms using Adobe Device Central and three operating systems.

Improving the common elements in Dreamweaver

Since we’ve been working with a fairly basic website my previous tutorials, I want to take a bit of time and improve the common areas of your site by adding some additional structure to our common areas.

picture 2 300x154 Improving the common elements in Dreamweaver imageTo do this, let’s open up our Template in Dreamweaver and look at adding some <div> tags to define our content. The <div> tag is a Division tag, it’s used in xHTML to differnentiate between different areas of our website. In previous tutorials we used it to structure the Header, Content and Footer. Now we want to further break down those areas include distrinct regions.

The header currently has a few basic elements, the word Header, an unordered list and four items. To improve our effectiveness as web publishers we want to help browsers (and people) know what those areas are, so we’re going to add the <div> tags to:

  1. Define our Site Name
  2. Add and Define a Slogan
  3. Define our Site Menu

First, let’s select the word Header and change it to My Site Name, then select the new text and add a <div> tag called “sitename”. Remember to use the ID, not the Class to define the name of your new area!

sitename Improving the common elements in Dreamweaver imageNext, here’s a shortcut for selecting content in Dreamweaver … put your cursor in the text and press Control-A (or Apple-A on the Mac). This will select all next tag in the hierarchy, so the first click should select the paragraph and the second will select the <div> tag named sitename.

Once you have the proper <div> selected, click the right arrow button to place your cursor after it and create a new <div> tag named “siteslogan”. Dreamweaver will now automatically add the tag along with some instructional text reading “Content for id “siteslogan” Goes Here“, we can leave that there for now.

Next step, let’s tell people that the unordered list is a menu. To do this, we need to place our cursor somewhere in the menu and use the Control-A trick until we’ve selected the whole menu. Now insert a new <div> tag labeling it with the name menu.

picture 4 300x162 Improving the common elements in Dreamweaver imageWe are going to do the same for the footer but instead of replacing the text “Footer”, let’s delete both it and the <p> tag it’s sitting in. Now, let’s select our footer menu and create a <div> called “footermenu“. Remember, only one object per page can use and ID, so it has to be different from our header menu.

Now it’s time to add a copyright notice. Select the whole <div> for your footermenu and press the right arrow. This will allow us to create a new <div> named “copyright” insert our notice on the footer of the page. Selecting the auto generated content, let’s insert a copyright symbol from the menu using the Insert > HTML > Special Characters > Copyright menu item. This will create a © character in your text. Add the year and your name and you’re done.

There you have it, your HTML document is now properly dividing into divisions and ready for the next part of our tutorial Placing page content in Adobe Dreamweaver. Saving your Template will update your pages to include the new changes.

This tutorial is part four in a ten part series.

  1. Preparing a website in Adobe Dreamweaver
  2. Building your first Dreamweaver Template file
  3. Structuring your website with Adobe Dreamweaver
  4. Improving the common elements in Dreamweaver
  5. Placing page content in Adobe Dreamweaver
  6. Hyper linking in Dreamweaver
  7. Working with Images in Adobe Dreamweaver
  8. Adding Cascading Style Sheets with Dreamweaver
  9. Putting your website on a remote web server with Adobe Dreamweaver
  10. Adding Google Analytics to your Dreamweaver Template

Reflective image effect in Adobe Fireworks

Original Image

Original Image

I just wrapped up a tutorial of how to create a reflective image in Photoshop but then I got thinking how much I love Adobe Fireworks so why don’t I have a tutorial for it as well?

So, the first thing that we’re going to need to do this tutorial is an image. Luckily there are 49 stunning images left to choose from, so I’m going to  use an image from Zach to accomplish my tutorial. I used another great image in the Photoshop version of this tutorial so I thought it was only fair to use another.

Setting the Canvas Size

Setting the Canvas Size

Working with Fireworks is a lot different than Photoshop, so this tutorial is actually easier to follow for new users.

First, let’s load the image into Fireworks and increase the canvas size to be 500px x 500px, remembering to keep the image centered at the top of the new canvas.

Once this is done, our image will have a large checkerboard pattern along the bottom of it. This represent an empty area in the document and will be saved as either Transparent in a PNG file or white in a JPG file.

Use your mouse to selected the image, you’ll see that the image is selectable because a red line with small red boxes will appear. When the image is selected, the red line will appear blue.

Next Copy (Control-C) and Paste (Control-V) the image to make a duplicate of the image.

To flip the image, use the Modify > Transform > Flip Vertical option from the menus which will flip your image upside down. I’ve seen a lot of student try rotating the image to do the same thing, it’s not the same thing so don’t try it. We want to create a mirror image not a rotated image.

Mirror Image

Mirror Image

 

 

You’ll have to drag the image down a little to line it up with the bottom of the first image, this will create a mirror that we need to lighten and create a white gradient with.

Lightening the picture is pretty easy, all you need to do is alter the opacity of the image. You can find the opacity on the Properties panel (Apple-F3) over on the far right hand side. Change the number 100% to the 50% in order to lighten the image and cause the background checkerboard to bleed through.

Adding a white gradient mask in Fireworks is also very easy, let’s create a new box using the Rectangle tool option found on our Tools panel (Apple-F2) to draw a box over the bottom image. Remember, you can resize the box using the corners to drag and grow or use the numerical values in the Property panel to resize and reposition the box.

Linear Fill

Linear Fill

We want to set a Linear Gradient from the Property panel. This option is a little hard to find at first, you have  to click the menu labeled Solid by default and pull down to Gradient, over to Linear. Don’t worry about the color at this point we’re going to change it at the next stage.

Now, surprisingly we’re already at the final step of our tutorial.

We need to edit the settings of the Linear fill to accomplish two things:

  1. First, we want to ensure both the colors in our fill are white. This is done by setting the two bottom colors to white.
  2. linear fill settings Reflective image effect in Adobe Fireworks imageSecondly we need to edit the opacity of our fill using the two top options. By setting the start fill to an opacity of 0%, the white box will fill only the area we want.
final image 300x300 Reflective image effect in Adobe Fireworks imageIf you’ve done everything right, what you should be left with is a reflective tree, perfect for use on your website. 
I’ve included a copy of the working file or you to view how this was done.

How to create a reflective website image in Photoshop

A while back, I wrote a simple tutorial for Photoshop on creating reflective text in Photoshop CS3, I’ve had a lot of people interested in it over the year and a couple have asked me how to apply this same technique to images, photos or even screen shots of their website.

The original image.

The original image. (right-click to download)

Creating a reflective screen shot in Photoshop is pretty straight forward. First, you’ll need a great image. For that, I’m going to borrow an image from thefuturebuzz.com’s great finds on Flickr and use a Raindrop image by play4smee (most likely not his/her real name).

Now what we want to do first is open the image in Adobe Photoshop. If you don’t already have a copy, why not download a free trail from Adobe or take the time to win one from me? Now that you have your image open, let’s do some basic resizing to make sure we’re all working on the same page.

I’d like to use the Image > Image Resize … menu option to reset the width of the file to 400px and you’ll see the height should auto set 286px.

To create the reflective effect we need to do a few fancy steps to our Photoshop document which are actually pretty easy but sound complicated. 

First, we need to reset our color pallet to the defaults. We do this so that we’re working with a black and white foreground. To do this, simply press the D key. This will reset your pallet to the default values.

Two Layers

Two Layers

Next we need to copy the image to a new layer. There are a couple ways to do this but I’m lazy so lets selected the entire image (Control-A on a PC or Apple-A on a Mac) and the cut the image out with a Control-X or Apple-X command. Finally, paste using Control-V (if you can’t figure out the Mac command, you shouldn’t be reading any further). What you should be left with is two layers, the top most being an image of the leaf.

For the record (because I can already here some people shouting about alternative methods) you could have accomplished the same thing by dragging the Background to the page icon at the bottom of the layer menu and then deleting the content of the background … which would have done the same thing but confused a lot of new users. You could also have accomplished this using menus instead of shortcuts but what fun would that have been right?

Duplicate the Layer a second time so you end up with two Layers plus the white background.

Next, you’ll need to reset the size of the document using the Image > Canvas Size … menu option.

Canvas Size

Canvas Size

First, we want to make sure that you’re going to increase the canvas at the bottom of the image so we darken the top center option in our “tic-tac-toe” board. 

Secondly, let’s switch the inches option to pixels, this will allow us to work in the same unit of measurement as we did when resizing the image. Not that it really matters because I would like you to increase the Height of the document to 400px (or 5.556 inches).

When you click OK you’ll be returned to your document which now has a large white sash across the bottom of it. This is where we are going create the reflection effect for our image.

To create the effect, make sure you’re on the top leaf photo in your Layer menu. If you can’t see your Layer menu you can activate it using the Windows > Layers menu item or by pressing F7. Sometimes when I lose the window I like to press F7 just to see it disappear and then reappear.

Reflective Leaves

Reflective Leaves

 

Control-T will begin the Transformation process for your image, Photoshop will automatically find the image on the layer so there’s no need to select anything. At the very bottom of our image, in the very center is small square box. Right click this box to reveal the Flip Vertical option and click it, making your image flip upside down. Now press the Enter key to accept this change. For those of you who prefer menus you can do the same thing using the Edit > Transform > Flip Vertical option. 

Now that you’ve reached this point, you’ll want to select the Move tool (V) and drag your top layer so that it is at the bottom of your top layer. This will cause a reflective mirror image between the two layers which is very close to being completed.

Ideally we want to wrap this up by fading the bottom image to white and making it appear light enough that it could reasonably be a reflection in glass.

Final Layer Structure

Final Layer Structure

To do this, we need to adjust the Opacity settings of the Layers and add a Layer Mask to the layer. Opacity is easy, in your Layer pallet simply change Opacity: 100% to Opacity: 50%. This will lighten the overall content of the layer, as you would see in a reflection. 

Next, add a Layer Mask using the third icon on the bottom of your Layers pallet and we’re ready to add the gradient to your image to complete the effect.

Before I continue I want to explain that a Layer Mask is used by Photoshop to knock out an area in an image, it’s literally a mask on your image so anything you don’t want to see you can simply use black paint brush to block out. We’re going to do something similar but with a gradient tool.

Selecting the Gradient Tool can be a bit of a pain, sometimes it’s hidden under the Paint Bucket tool in the Tool menu. First, let’s make sure you can see the Tools menu. If not, it’s under Windows > Tools. Now select the Gradient tool (G) or click the Paint Bucket and hold your button down until the Gradient tool appears and then select it.

reflective image 300x300 How to create a reflective website image in Photoshop imageWith the Gradient Tool selected, drag a line (hold the Shift key to make it straight) from the top of your reflective edge (where the two images come together) to the bottom of your image. You can adjust the depth of reflection to meet your desired effect.

Structuring your website with Adobe Dreamweaver

For those of you how have been following my series on building a website in Dreamweaver, you’ll know that we’ve already setup a Site, created the four basic pages of our website and assigned a Template to the files. What we have now is technically a website but it’s lacking a lot.

What we want to cover in this lesson is how to structure your web pages and website to be effective. This isn’t about Dreamweaver, it’s about web standards and ensuring your website is compatible with the expectations of groups like the W3C and search engines such as Google. It’s also common sense and if you can get in the habit of building a website properly, it becomes easy to do maintain it later.

Adding a menu to the Template

picture 2 300x213 Structuring your website with Adobe Dreamweaver imageSo our first step today is to add a menu to our website. To do this, we need to open the Template file we created already and add both text and links to the other files. This is going to be our menu, so let’s start by making sure we’re in Design view and placing a new paragraph after the word Header.

On the new line that we’ve created we want to type the word Home and press Enter. On the new line, let’s make a new entry for Services and add a new line. Do the same for Contact and About.

Now for something really cool. What is a menu? It’s a list of pages on our website so, let’s make it a list and let’s tell Google that it’s a list. To create a list in Dreamweaver, we are going to highlight the four lines Home, Services, picture 31 Structuring your website with Adobe Dreamweaver imageContact and About by holding down our left mouse button and dragging the cursor over the four lines. Then, using the unordered list button on our Property panel (if you don’t have a Property panel go to Windows > Properties) we will make our menu an unordered list.

picture 6 Structuring your website with Adobe Dreamweaver imageAdding the hyperlinks to our menu is our next step. Select the word Home and again using our Property panel, let’s add a new link by clicking the folder icon. Find your index.html page from the list and select it. This will turn the word Home blue, indicating that there is now a hyper link on it. Do the same for Services, About and Contact and you’ve built a menu for your website. As a note, you can also add the hyperlink by dragging the target (circle with a target on it) to your Files panel to the right and point it at the filename.

Applying your changes to your site

Pressing Control-S at this point will Save your file and also prompt you to see if you’d like to update the rest of your website. Yes, we want to update the website. This will apply the changes from your template to the other four pages we’ve already created.

Building the footer for your pages

A header and a footer are basically the same on a web page, the difference being that we want one at the top and the other at the bottom but it’s best practice to have a menu on both. To add a menu to our footer we could follow the above steps or we could use Dreamweaver to make our life easier.

picture 71 300x160 Structuring your website with Adobe Dreamweaver imagePlace your cursor anywhere in the top menu, say for example beside the word About. You’ll notice at the bottom of your Design View document that there’s a string of HTML that reads something to the effect of <body><ul><li><a>, this is the document structure of your current object. Basically it’s saying that your cursor is located:

  • Within the Body of your document
  • Within an Unordered List
  • Within a List Item
  • Within the Anchor tag

Your document may not be exactly the same but what’s important is that you’re within the <ul> of your list. Along the bottom of your window, click the <ul> tag and you’ll see that you’ve selected the whole list (all four items). Simply Copy (Control-C) the object and you’ll have the whole menu in memory.

Now, you can go to the bottom of your document and place your cursor after the word Footer and Paste (Control-V) the menu. If you did it right you should now have a copy of your menu at the top and the bottom of your page. Click Save and update your pages. If you’d like to see your work before moving on, you can do so by opening the index.htmlfile in your Files panel and Preview (File > Preview in Browser). When you’re done, close the index.html file.

Adding Divisions

Web sites have many parts, in our case we have three distinct areas of our website:

  • Header
  • Content
  • Footer

It’s time that we tell Dreamweaver that we have different areas of our website. This is important later when we get into designing our website. So, to do this we want to select the whole area of each piece and add a Division tag.

Let’s start by selecting the whole Header of our document. We do this by placing our cursor in front of the word Header and selecting all the way to the end of the word Contact. Once that’s done, we need to make sure we have the picture 9 Structuring your website with Adobe Dreamweaver imageCommon area of our Insert panel (Window > Insert) up and select the icon for the Division tag. The icon for our Div tag is the fifth from the left, between the Table and the Image icon. Clicking this icon will prompt us for an ID or a Class name.

picture 8 300x125 Structuring your website with Adobe Dreamweaver imageI’m going to take a moment and pause here, to describe the difference between the two.

A Class is used to describe a Div tag for example, you could describe a Class a needing padding, or telling the browser that this class is blue.

An ID on the other hand is giving the Div a unique identifier on the page. I’m reluctant to use the word Name because that has a different meaning in HTML but for lack of a better word, the ID is the Name of the Division.

We want to set the ID of the Div tag to header. This will tell web browsers that the material contained within this section is for the header of our document. When you’re done that, Dreamweaver should wrap a Div tag around your entire header which will appear to have no difference to you (except putting a grey line around the area) but for our layout purposes it’s huge.

Now do the same to the Footer area, calling this Div tag footer.

Finally we have to set the Div for our content area. To do this, we need to place our cursor at the end of the word Content and along the path of our document structure (at the bottom of the page) we need to select mmtemplate:editable. This will select the whole of the editable region. Adding a Div tag called “content” at this point will be our final step in making our document structure for this tutorial.

picture 10 300x160 Structuring your website with Adobe Dreamweaver imageI’ve included a screen shot to the right (you can click to enlarge it) of the Template file so far. What you should notice is that we have a document with three distinct areas:

  • Header
  • Content
  • Footer

The Header contains:

  • A Title
  • A Menu with four items, each hyper linked

The Content contains:

  • An editable area named Content

The Footer contains:

  • A Title
  • A Menu with four items, each hyper linked.

Wrapping up

Save your Template and update your pages, you can preview your work to date and hopefully you’re still with me. If you have any questions or comments please let me know using the comment area below, I hope you’re enjoying the tutorial so far.

This tutorial is part three in a ten part series.

  1. Preparing a website in Adobe Dreamweaver
  2. Building your first Dreamweaver Template file
  3. Structuring your website with Adobe Dreamweaver
  4. Improving the common elements in Dreamweaver
  5. Placing page content in Adobe Dreamweaver
  6. Hyper linking in Dreamweaver
  7. Working with Images in Adobe Dreamweaver
  8. Adding Cascading Style Sheets with Dreamweaver
  9. Putting your website on a remote web server with Adobe Dreamweaver
  10. Adding Google Analytics to your Dreamweaver Template

Building your first Dreamweaver Template file

If you’ve made it this far, you’ve most likely already completed my first step in this tutorial called Preparing a website in Adobe Dreamweaver. If not, I’d suggest hopping over and following the steps, it should only take a few minutes and will get you ready for the next part. So far, you should have created a Site in Dreamweaver, opened your Files tab and made four new web pages each with a little bit of silly content in them. With luck if you open any one of the pages you’ll see different content depending upon which one you open.

Now this is important so please read this part … building web pages is not about designing web pages. The two are very different subjects and we’ll get to the design a little later but for now, let’s keep your View in Design (View > Design in the menu) and focus on making our website technically accurate. Once that’s done, we can make it really cool.

In Adobe Dreamweaver we can create short cut files called Templates which allow us to store the common aspects of multiple pages in a single file. These common files most often include the header and footer areas as well as common side bars of a website which allows us to address some of the most basic principles of website design.

CRAP. Yes, I said it.

CRAP is a basic principle of design which breaks a creative project into four areas, my belief is that if your layout features all four it’s a good design but if it’s lacking any one of the four, it isn’t. CRAP stands for:

  1. Contrast
  2. Repetition
  3. Alignment
  4. Placement

Each of the lessons we cover in this series helps reinforce these four basic concepts, in this tutorial we’re talking about Repetition. Each web page in your website should have the same basic design and layout regardless of the page. We’re also addressing Placement by placing the correct content in the correct areas. Just wait, in lesson three we’re going to talk about the structural hierarchy of xHTML documentation publishing … very exciting.

Creating a Template in Adobe Dreamweaver

If we wanted to we could just add the header and footer HTML into each of our pages but that would lead to human error and sloppy coding, more importantly as the site grew it would mean that we had to change dozens or hundreds of pages instead of just a few. I’m too lazy to be faced with hundreds of updates every time I want to change a common element so instead we need to find an easier way and luckily with Dreamweaver it’s a pretty simple short cut.

picture 4 300x189 Building your first Dreamweaver Template file imageUnder the File > New option you can create a Template by selecting Blank Template > HTML Template > <none> this will open a new window similar to the one we created in our last Tutorial but this time it’s a Template file. Saving the file will prompt us with a new dialog box which is going to prompt us for the name of our new Template. I’ll call mine Untitled-5 but you can name yours anything you’d like.

Once you’ve saved your Template you should notice a new folder in your Files panel called Templates. This is where your template files are stored, if you double click the folder you’ll see a new file with the extension .dwt, this is your template file.

Adding an Editable Region to your template

While Templates are amazing for duplicating you’re content across multiple pages, you’ll need to be careful so that you have the ability to have unique content on each page. By default a Template will apply itself over top of all your local content so we need to add an Editable Region.

Before we do this, I want you to type the following three words in your Template document, each word should be on a line by itself.

contenttemplate 300x145 Building your first Dreamweaver Template file imageHeader

Content

Footer

Now that we have these three key elements of the website design labeled, I want you to add an Editable Region by first selecting the word Content and then going to the menu item Insert > Template Objects > Editable Region. It will ask you to name your region, let’s call it Content to make thing easy. When you’re done this process the work Content should be surrounded by a blue outline with the title Content. Congratulations, you’ve just added an Editable Region to your template. Now, when we update the content across your website you’ll be able to instruct Dreamweaver where to put the content you previously entered.

Let’s save the Template file and close it now.

Applying your template to pages

A Template is great but useless if we don’t apply it to pages so that’s exactly what we need to do now.

picture 7 300x201 Building your first Dreamweaver Template file imageOpen about.html and select Modify > Templates > Apply Template to Page … so that we can apply the template file to your page. We need to select the template from the Templates list and click OK to continue. Next we’ll be asked where we want to put pre-existing content, this is the content we placed in lesson one and it’s important that you select the content and specify you that original content to appear in the proper area. If you named the Content area Content as I wrote, you should select that from the drop down box. Once you’ve done that, click OK and you’re done.

When you view your about.html file in Dreamweaver you should see a yellow line around the main text area and the words Header and Footer outside those areas. This yellow line represents your Editable Region in your Template object. Everything outside the yellow is stored in your template file and can not be edited while on this page.

Save your work and apply the same template to your three other files, when you’re done your website has a proper Dreamweaver Template file attached and you’ll be ready for lesson three, in which we’ll cover how to structure your HTML document.

This tutorial will be broken down into the following chapters, each published individually over the coming weeks.

  1. Preparing a website in Adobe Dreamweaver
  2. Building your first Dreamweaver Template file
  3. Structuring your website with Adobe Dreamweaver
  4. Improving the common elements in Dreamweaver
  5. Placing page content in Adobe Dreamweaver
  6. Hyper linking in Dreamweaver
  7. Working with Images in Adobe Dreamweaver
  8. Adding Cascading Style Sheets with Dreamweaver
  9. Putting your website on a remote web server with Adobe Dreamweaver
  10. Adding Google Analytics to your Dreamweaver Template
How are you doing so far? Leave me some feedback so that I know how to improve this template as we move along.