Go Back   UltraGuest Forum > UltraGuest Forums > Guestbook Support

Reply
 
Thread Tools Display Modes
Old 03-31-2006, 04:26 AM   #1
proticamp
 
Join Date: Jul 2005
Posts: 6
Question Center content of the guestbook

Hi again and congratulation for your good work!
I wonder about how to center the content of my guestbook. My guestbook is this one. I don't know html, but searching and... improvisating, I entered the followinig code to guestbook header:
Code:
<div style="text-align: center;">
  <img border="0" align="middle" src="http://www.mysite.com/image.jpg" alt="" /></div><span class="head-text" style="font-family: Tahoma; font-size: 10pt;"><span style="font-size: 10pt;"></span><span style="font-size: 10pt;"></span></span><br />
<span class="head-text" style="font-family: Tahoma; font-size: 10pt;"><span style="font-size: 10pt;"></span></span>
<div style="text-align: center;"><br />
  </div>
<table>
</table>
<table width="80%">
  <tbody>
    <tr>
      <td style="width: 25%;"><br />
        </td>
      <td style="font-family: Verdana;">
        <p align="justify"><span style="font-size: 10pt;">Welcome message</td>
    </tr>
  </tbody>
</table>
When viewing in Firefox 1.5, it's OK (although the center position of the welcome message is different when changing screen resolution, but that's not a problem, because every time the text is centered).

But in IE 6 the text of the guestbook does not apper centered, as in Firefox, but moved on the right

Could you test it and propose me a solution to put all my guestbook content at the center of the page? (the image is easy, by selecting center alignment but the text? I don't want to transform it to an image and center it, it must be something else, like a table maybe...)
Thanks.

By the way, I like you forum GUI!!! Is it a ready-to-use PHP template that makes it so lovely?

Last edited by proticamp; 03-31-2006 at 04:28 AM.
proticamp is offline   Reply With Quote
Old 04-03-2006, 06:22 PM   #2
proticamp
 
Join Date: Jul 2005
Posts: 6
Default Re: Center content of the guestbook

Well, I realised that the forum is vBulletin based, but I have not find yet how to center correctly my page... Any help would be appreciated.
proticamp is offline   Reply With Quote
Old 04-05-2006, 09:08 AM   #3
Andreas
UltraGuest Admin
 
Join Date: Nov 2003
Location: Oslo, Norway
Posts: 746
Default Re: Center content of the guestbook

Yes, the vBulletin forum has some limitations.

The guestbook is center-aligned by default, but if you use tables you should make sure to put all of your content inside of the table. You should also ensure that you use correct HTML coding. For instance this does not make too much sense:

<table>
</table>

Here are some good HTML tutorials you might want to check out:

http://www.w3schools.com/html/
Andreas is offline   Reply With Quote
Old 04-06-2006, 02:44 PM   #4
proticamp
 
Join Date: Jul 2005
Posts: 6
Default Re: Center content of the guestbook

Thanks for replying! I deleted the <table></table> code (it was a fault), but nothing changed.
I realized that when I put my text content in a cell, which is 80% of the hole page, the guestbook is well centered in IE but NOT in Firefox! But if before the 80% cell I put another cell, sized 25% of the hole page, then the guestbook is well centered in Firefox but NOT in IE!

So, if I delete this part, from previous post code:
Code:
<td style="width: 25%;"><br />
</td>
there is a Firefox problem. If I keep this part, there is a IE problem!

Well, it's probably a browser incompatibility problem, as I see.
But if anyone has a piece of code that works well in IE and Firefox too and centers correctly page content in a Ultraguest's forum, please tell me.
proticamp is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No Guestbook Entries is incorrect bjmalone Guestbook Support 6 02-01-2007 02:40 PM
Adding guestbook into existing HTML hivida Guestbook Support 1 02-13-2006 12:03 PM
Can One Upload Pictures Onto Free GuestBook? LatinChica209 Guestbook Support 1 01-09-2005 05:12 PM
Editing Guestbook entries ShatPank Guestbook Support 1 11-09-2004 07:45 AM
using same guestbook for several websites? Andreas Guestbook Support 0 12-07-2003 09:00 AM


All times are GMT -5. The time now is 08:37 PM.


Page generated in 0.07393 seconds with 11 queries