Login

Login

Need to register? Lost password?

Options

Advertisements

Advertisements

 

How to center the guestbook?

Userpage Customization Showcase

Minitokyo » Forum » Minitokyo Fora » Userpage Customization Showcase  How to center the guestbook?

page 1 of 1

I had to alter my CSS a little bit on my userpage, but I came to realize that my guestbook isn't centered anymore! I don't know what I removed, but I somehow removed the code that centered it (so embarrassed >.<) Could someone help me please?

I would like to know this too, actually...

Umm, I do not know >< suppose that eliminates that option before it was too easy to center the guestbook, I think you should create the code x_x

you need to add

Quote:
p {
text-align: center;
}

and that should do it for the guestbook entries, since they're automatically surrounded by <p></p> tags. :)

As an aside, since you've got that, in your custom page HTML, if you put everything you write between <p></p> tags, it'll center the text there as well, so you don't have to use the <center></center> tags.

However, this will center other things like your name, your reviews, and all your threads. If that's not what you want (ie you just want to center the text in the guestbook), use

Quote:
.main {
text-align: center;
}

If you also want to center the header and footer of the guestbook posts, use

Quote:
.postInfo {
/* very top thing with the date */
text-align: center;
}

.postHeader {
/* thing with the name and avatar */
text-align: center;
}

.postFooter {
text-align: center;
}


If want to center everything, ie the menus and stuff, you can use

body {
text-align: center;
}

It didn't seem to work...I have no idea why..><

EDIT: Never mind, I added the <STYLE> tag. Thank you, Maple-chan for your codes!

page 1 of 1

Only members can post replies, please register.