I made a table but it seems to be always aligned to the left, how do i align it in the centre/right etc?
Can you post the code here? That would help
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>
<body>
<table width="189" height="156" border="0" >
<tr>
<td width="179"> </td>
</tr>
</table>
<table width="189" height="478" border="0">
<tr>
<td width="179"> </td>
</tr>
</table>
<table width="186" height="88" border="0">
<tr>
<td width="183"> </td>
</tr>
</table>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>
<body>
<table width="189" height="156" border="0" >
<tr>
<td width="179"> </td>
</tr>
</table>
<table width="189" height="478" border="0">
<tr>
<td width="179"> </td>
</tr>
</table>
<table width="186" height="88" border="0">
<tr>
<td width="183"> </td>
</tr>
</table>
</body>
</html>
<table align=center>
this will center your table
for your table here is the code
<table align=center width="189" height="156" border="0" >
this will center your table
for your table here is the code
<table align=center width="189" height="156" border="0" >
Don't use tables for layout.
Indeed, divs are much easier to format with, tables are a dying concept (except when you design a page in photoshop as it default formats in a table).elbekko wrote:
Don't use tables for layout.
your right but he seems to be new to this, and don't want to confuse him too much. So I just answered his question.elbekko wrote:
Don't use tables for layout.
If he's new, he should learn the correct thing.
You can right click on the table and then go to table properties.