|
|
|
How to make a
table layout
To make a layout, you can make a table. first, you need to
"define" a width. This layout is 779 wide for example. you can do that by setting the width attribute of the table to your desired amount of pixels.
Then, you need to make a header image of exactly that width!
Put it in the table row!
Then, make another row. This row will contain the
sidebar and the main content. So, you need to make three
table data cells.
The first cell is the left sidebar. It is ~ 1/5th the
total width. For example, 779 / 5 = 155.8. Round this to 156 because incomplete numbers become weird with layouts! Make
this smaller if you need to!
The second cell is the main content. This is the rest of
the width. So, max width - left sidebar width = main content width!
Afterwards, make the third cell. This is the right sidebar.
This is the same width as the left sidebar!
This is because layouts should more than often be symmetrical!
Have enough space in your sidebars for affiliate images! This means that you should ideally make your sidebars at least wider than 88 pixels!
now you can add content to your layout, and style it with CSS!
You can also add a background image to the main content area! you can do this by adding the attribute background="imageurl" to the td you use for the main content table data cell!
this is optional though, because your text and images also should still be easily visible on the site if you look at it. Plain colors work pretty well too! you can do this by setting the background color of the td to your desired color using bgcolor="#desiredcolorhexcode" in your td tag.
|
|
|
|