website promotion banner
eturnkeys
Your Ad Here
Photoshop  Home Photoshop Web Layout Expanding Contentbox
rss

Expanding Contentbox

Author: SweDesignz.com More by this author


In this tutorial im gonna show you how to create a contentbox and also show you how to make it expand.

1. Begin with a new file, 300x250, with #666666 as your background color. Then create a new layer in the layers palette.

2. Then take the Rounded Rectangle Tool and draw out a rectangle as the image below shows.

image 1

3. Now head over to the layers palette and right click on layer1, choose Blending Options and apply this settings. ( Click for larger view )

image 2

image 3

image 4

image 5

Now should it look something like this.

image 6

4. Now go to Select>Modify>Contract and contract by 6 pixels, then press delete.

image 7

5. Now when your image should be selected create a new layer and fill it with #333333, and that´s it for the design of the contentbox, this is what I end up with.

image 8

Now it´s time to slice the image, take the Slice Tool, below you can see how I sliced my image. ( Click for larger view )

image 9

And here is the code to make it expand.

<table width="300" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="01.gif" width="300" height="15" alt=""></td>
</tr>
<tr>
<td background="02.gif" width="300">
<p align="center">Here goes your content!!!</p>
</td>
</tr>
<tr>
<td>
<img src="03.gif" width="300" height="15" alt=""></td>
</tr>
</table>

That´s it, below is an example.

image 10

Here goes your content!!!

Here goes your content!!!

Here goes your content!!!

Here goes your content!!!

Here goes your content!!!

Here goes your content!!!

image 11


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 "Expanding Contentbox"