| 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: |
| <center> the <!-- BOARD --> but not the text | |
|---|---|
| Tweet Topic Started: Apr 3 2009, 12:06 PM (271 Views) | |
| Virde | Apr 3 2009, 12:06 PM Post #1 |
![]()
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. |
![]() |
|
| Renegade605 | Apr 3 2009, 03:51 PM Post #2 |
|
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:
|
![]() |
|
| Virde | Apr 3 2009, 04:22 PM Post #3 |
![]()
Member
![]() ![]() ![]()
|
When I did that, it made everything align to the left rather than stay centered. |
![]() |
|
| Renegade605 | Apr 3 2009, 04:26 PM Post #4 |
|
The Pneumatic Destroyer
![]() ![]() ![]() ![]() ![]()
|
:blink: ? That doesn't make any sense... |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · ZetaBoards Support · Next Topic » |






![]](http://z1.ifrm.com/static/1/pip_r.png)



10:23 AM Jul 11