Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 06:27 am EDT

Geeklog Forums

centering geeklog


Status: offline

xucaen

Forum User
Junior
Registered: 01/08/06
Posts: 24
I have changed the size of geeklog, and now I want to center it on the page.
I added align="center" to the table tag in header.thtml but it doesn't center.
Then I read on the web that you must also put table.center {margin-left:auto; margin-right:auto;} in the stylesheet. But that also did not center the table.

Is there a trick to getting geeklog to be centered on the page?

Thanks,

 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
You could use a new table in header.thtml starting after body
Text Formatted Code
<table width="780px" align="center" border="0" cellspacing="0" cellpadding="0" class="">
     <tr>
        <td>


And let it close in the footer again as last table.
 Quote

All times are EDT. The time is now 06:27 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content