Help - Search - Members - Calendar
Full Version: HTML Tables
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Vikat
Hello!

I have problem with tables in HTML. I want to put 2 tables to the center of the page, one table is like 800 px and the smaller is 200 px.
I want them to be beside eachother, but when I put align="center" then on is up and other is down, put when i put align to left and other to right, then they go to far from eachother. If you understand what I want to say, than can you help me with this problem? smile.gif
Dante Monaldo
See if this helps. You may have to tweak the code a little bit depending on your dimensions, but I hope this helps.

<html>
<body>

<div align="center">
<center>
<table border="2" cellpadding="4" cellspacing="0" width="1000" height="790">

<td width="200" height="750" valign="top" align="center" bgcolor="#F2F2F2">
<div align="center">


</div>
</td>

<td width="654" height="524" valign="top" bgcolor="#F2F2F2">
<p align="center"><b><font face="Arial" size="5">My Photo Gallery</font></b></p>
</center>



</td>

</div>
<body>
<html>
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.