FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

center seperated from backround

 


Eyre
i want to do something like this:
Quote:
http://www.crankeye.com


where the center is like seperated from the backround. I don't know how to do this. Can someone help?
Jiltedcitizen
You mean the content is separated? Just give the background a color or image and give your table or div another color. best to use css to accomplish both. And you can even right click, select view source on that web page and see how they did it.
Naif
Assign a width of 90% (more or less, your choice) to a table and center align it.

Example:

Code:


<body bgcolor="gray" text="white">

<table width=85% ALIGN=CENTER bgcolor=green>
<tr>
<td>
   Contents.....
</td>
</tr>
</table>

</body>

supjapscrapper
Eyre wrote:
i want to do something like this:
Quote:
http://www.crankeye.com


where the center is like seperated from the backround. I don't know how to do this. Can someone help?


If you have a look at the source code, you'll see that all that is used is a Table with div tags inside, and then having the width and centering set up you'll get the expected effect. to learn how to use div's just ... google it!
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> Design Tips

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.