| Why Slice? | |
|
||
|
||
Introduction > Slicing Example Two
This
is a Web page with an expanding border that enhances the page
without adding a great deal of load time. The border image was
created image ImageReady, then selected slices were exported
and reassembled in an HTML table.
Here
you can see the entire ImageReady document with guidelines to
indicate how the image was sliced. Only the 8 numbered sections
were saved from ImageReady. Due to the way ImageReady exports
HTML, it was easier to save just the slices I needed and create
the table code from scratch in an HTML editor.
Each
section was saved as a 16-color dithered GIF. The entire page
(including HTML) is only 4.62 KB. Here's a breakdown of file
sizes for each of the images in this example:
|
|
||
| In the HTML, the four side images are stretched to 100% height or width to fill the available space. Here you can see the actual size. | ||
Here's the table code to assemble the pieces:
| <BODY BGCOLOR=#99CCCC> <table width="95%" border="0" cellspacing="0" cellpadding="0" align="center"> <tr valign="bottom"> <td width="3%"><img src="slicingdemo3_07.gif" width=25 height=25></td> <td width="93%"><img src="slicingdemo3_08.gif" width="100%" height="25"></td> <td width="4%"><img src="slicingdemo3_09.gif" width=25 height=25></td> </tr> <tr> <td width="3%"><img src="slicingdemo3_12.gif" width=25 height=100%></td> <td width="93%" bgcolor="#FFFFFF"> <p align="center"><b>Slicing Demo Page</b></p> <p align="left">Lorem ipsum dolor...</p> </td> <td width="4%"><img src="slicingdemo3_14.gif" width=25 height=100%></td> </tr> <tr valign="top"> <td width="3%"><img src="slicingdemo3_17.gif" width=25 height=25></td> <td width="93%"><img src="slicingdemo3_18.gif" width="100%" height="25"></td> <td width="4%"><img src="slicingdemo3_19.gif" width=25 height=25></td> </tr> </table> |
Example One | Example Three | Related Links
Related Information:
Using
Tables to Do Page Layout ![]()
HTML Guide Jennifer Kyrnin has tips for using tables for your
Web page layouts.
Latin
Placeholder Text ![]()
Get the "Lorem ipsum dolor" text from About's Desktop
Publishing Guide.
|
Sign-up to have About Graphics Software delivered right to your inbox so you'll never miss an update! |
|
Sue Chastain |

