DIV/Textarea/Tables

The following codes are for creating DIV's, tables, and textarea boxes.

These codes brought to you by:

DIV/Textarea/Tables


To create a table anywhere on your page use this code:


You can change the colors and text size as well as the size of the whole table

The Result:

This div now looks like a table.

If you want the table to have scrollbars use this code:


The Result:

This table now has scrollbars. The scrollbars will show depending on the width and height of the box and how much text you enter. In this case the height is 75px. So we have to keep adding text until the text reaches to the bottom. Any text that goes over 75px will result in scrollbars. You can also change the height to a lower number if you dont have much text but want a scrollbar to show. Cool huh?


If you want to have an image as a background for this table use:


The result:

Drink more water! *smile* We can put anything we want in this box. Try some pictures or links or more text :)



*If you do not want your image to tile in the background put background-repeat: no-repeat; after the image url *


To make all of the sections on your Myspace page a solid color use:


Here is an example of solid tables on your page:

To add a background image to all Myspace table sections use:




Here is a screenshot with a new background for the tables. Do you see how I changed it into a tropical palm tree paradise? Another cool code.

|

Go Back