Vectorials
Flash Perfection
3D Lessons
Tutorialkit
Markup Tutorials
Learn PHP
network
adv banner
HTML and CSS  Home HTML and CSS Tutorials Template Basic Slicing Tutorial
rss

Template Basic Slicing Tutorial

Author: Akpro.net More by this author


Lets get started, first of all, make sure you have your template ready. If not, you should stop reading this because it would be no use to you. I also wanna thank AKPRO for the template. I did not make it, AK-Pro did, i am just using it. Once again thank you AK-Pro.

Open your PSD in Adobe Image-Ready.

Click to enlarge
Click to enlarge

Grab the Slice Tool ( Press K on your keyboard)

Now with the Slice tool, select the images that are going to be either linked or used for background purposes.

Click to enlarge
Click to enlarge

Once you get done with slicing, it should look something close to this

Click to enlarge
Click to enlarge

Now go to File, Save Optimized As.. and type in Index for name and Select HTML and Images, Press OK.

Click to enlarge
Click to enlarge

Now you should have an index.html and an images folder filled with images. Open your dreamweaver, go to File, Open and open up the index.html file.

Click to enlarge
Click to enlarge

Once open, select the Split option on the top of dreamweaver so we can see the code and the site at the same time. Now, you must know the basics in HTML, or else this is going to be very hard for you!

Click to enlarge
Click to enlarge

In the site i am working on, i am going to center it, and change the main background to light gray so it matches the sliced site

Click to enlarge
Click to enlarge

Now, lets make the content boxes be able to be written on.

Select your Content Box and get the name of the image, in my case, its "images/index_40.gif", now i delete the image by removing the <img src=images/index_40.gif> and go to the td tag and insert the image name with the attribute of background. so it should look like this, <td background="images/index_40.gif"></td>

Click to enlarge
Click to enlarge

Click to enlarge
Click to enlarge

Simple, now your image is used as a background image, so you can type anything over it. Do that for all the images that are going to have text over it. Usually the Content boxes and Navigation areas. That's it.

Here is the link to the result

Click Here

If you get lost, please post here and i will try to help you ASAP.



Author's URL: www.akpro.net

Rate this Material: Bad 1 2 3 4 5 Excellent
print this page tell a friend subscribe to newsletter subscribe to rss

Add comments to "Template Basic Slicing Tutorial"