Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Multiquote (on) Multiquote (off)
Add Reply
<center> the <!-- BOARD --> but not the text
Topic Started: Apr 3 2009, 12:06 PM (271 Views)
Virde
Member Avatar
Member
[ * ]
I just recently threw a skin together and it looks nice, but there's only one small minor thing in the Layout that bothers me. The forum is off-center. So I figured I'd throw in a center code to fix that. It did and it looked perfect. Only problem is anyone who wasn't running the latest version of Firefox had their text centered as well. I tested this and used my school's computer.

The Board

I made two separate skins off of it, one with the center and one without. Since, sadly, the majority of the world doesn't use the latest version of firefox I have the non-centered one as the main. The one with the center is in the skin changing section with the (Firefox 3+ Version) after the name.

If you know how to align the board to the center without it centering the text, that would be wonderful and I would give you a million brownie points.
Offline Profile Quote Post Goto Top
 
Renegade605
Member Avatar
The Pneumatic Destroyer
[ *  *  * ]
Centering divs and tables with a <center> or the text-align CSS property is unreliable at best. Instead, make sure all the objects you want centered have left and right margins set to auto. Example:
Code:
 
.category { margin: TOP&BOTTOM auto; }
Offline Profile Quote Post Goto Top
 
Virde
Member Avatar
Member
[ * ]
When I did that, it made everything align to the left rather than stay centered.
Offline Profile Quote Post Goto Top
 
Renegade605
Member Avatar
The Pneumatic Destroyer
[ *  *  * ]
:blink: ?

That doesn't make any sense...
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards Support · Next Topic »
Add Reply