• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Need HTML help....

mztykal

Diamond Member
Anyone know how to use tables really well? I need to center the table in the frame. But I can't remember how. This is the first time in months that I'm playin with HTML. I want it centered. The frame has a height of 30. Here's the HTML. Thanks in advance for any help.

HTML:

<html>
<head>
<title>[quick linkz]</title>
</head>
<body bgcolor=&quot;#000000&quot; text=&quot;#000000&quot;>
<center>
<table width=&quot;98%&quot; height=&quot;17&quot; border=&quot;1&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;>
<tr align=&quot;center&quot;>
<td width=&quot;16&quot; height=&quot;17&quot;><img src=&quot;images/arrow.jpg&quot; alt=&quot;images/arrow.jpg&quot;></a></td>
</tr>
</table>
</center>
</body>
</html>


-MzTyKaL
 
Inside the table tag, I believe, try &quot;align&quot; for horizontal alignment, &quot;valign&quot; for vertical.
 
<div align=&quot;center&quot;>
<center>
<table border=&quot;0&quot; width=&quot;88%&quot;>
<tr>
<td ...

....</td>
</tr>
</table>
</center>
</div>

so in your case I believe it should be...

<div align=&quot;center&quot;>
<center>
<table width=&quot;98%&quot; height=&quot;17&quot; border=&quot;1&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;>
<tr align=&quot;center&quot;>
<td width=&quot;16&quot; height=&quot;17&quot;><img src=&quot;images/arrow.jpg&quot; alt=&quot;images/arrow.jpg&quot;></a></td>
</tr>
</table>
</center>
</div>
 
Back
Top