| You are here : : Home > Free Resources > Web Design Tutorials & Resources > HTML Table Tips |
Free Web Design Resources
Other Web Design Resources
Instead of designing graphic intensive web sites that take ages to load, you can use HTML tables creatively to get a professional looking web page that loads super fast. This article discusses many useful table tips and tricks on designing a great web page. Live examples and cut 'n' paste code are also provided for you to try out some great designs. You can also check out more handy tips 'n' tricks on designing a fast loading web site.
Tables with white bordersThe key here is to use a transparent image(1x1 pixel) called a shim. The table is made of 3 rows and 3 columns. The width and height of the middle row is 1 pixel. The table will not take a height less than 5 pixels without you putting an image in it. Hence the magic shim. And there you have a striking table that can be used in your homepage to display your important navigation sections. |
|
|||||||||
|
Table with a thin borderHave you ever wondered how to get a nice thin border instead of the thick border that is automatically generated using the 'border' property. Or have you ever wanted only the table to have a border and not all the cells. Well the answer to this is to make a table with the width you want and 1 as your cell padding. You then have to insert the actual table inside this table with width 100%. Cell spacing should be 0 for both of the tables. |
|||||
Here I have made a table with 2 rows and 5 columns
with cell padding 2 . There are different background colors for
all the alternate columns. In the first row I have written the text
for the heading. In the second row I have made a table of width
100%, height 100% and cell padding 3. The whitespace between the
tables is a column of width 3 pixels.
Note: You cannot make 3 different table coming one after the
other in the same line. You can only make tables come one below
the other. If you want many tables in the same line you have to
make tables within tables.
|
Web
Services |
Web
Products |
Web
Resources |
|||||
|
|
|
Table using the border propertyHere's the simplest way to make a table with a border. Use the border property to give a border for all the cells. Neat and clean, this is the easiest way to create a table with a border. Note: The border has a grayish tinge when viewed in Netscape. |
|
You can also try merging and breaking apart cells to get some really cool designs. Be careful when trying out this method, as you can lose control over the table. Merging and breaking apart cells make use of the 'rowspan' and 'columnspan' properties of HTML.
|
Web
Services |
|||||||
|
Web
Products |
|||||||
|
Entheos Your key to a powerful Net presence |
|||||||
|
Web
Resources |
|||||||
|
|
Contact
Us Contact us for more details through our contact us form, questionnaire or email. |
||||||
This is a nice design because it has a lot of white space. Remember that white space really makes a site looks clean and readable. Again I have made tables within a table to get the best effect. Try to do this one yourself using the techniques I have describe above. Don't use any images. Only use HTML code. Remember to use a shim. Have fun.
|
|
|
|||||
Join us on Facebook to keep updated with all the latest tutorials and web design freebies from EntheosWeb!