My account: Login | Sign Up
Loading...

Text-align: -moz-center; | Thread profile

Thread profile page for "Text-align: -moz-center;" on http://www.devshed.com. This report page is a snippet summary view from a single thread "Text-align: -moz-center;", located on the Message Board at http://www.devshed.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity, which are reported in a table below. Additional thread profile information is also shown in the following ways:

1) Top Contributing Authors
2) Related Threads on "eBay Auctions"
3) Related Threads on Other Sites

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a thread's popularity and/or exact posting volumes at any given reporting period.

Title: Text-align: -moz-center;
Site: Dev Shed Forums - Open Source web development  Dev Shed Forums - Open Source web development - site profile
Forum: CSS Help  CSS Help - forum profile
Total authors: 3 authors
Total thread posts: 3 posts
Thread activity: no new posts during last week
Domain info for: devshed.com

Thread posts in Text-align: -moz-center;:

1. 
Started 2 months ago (2008-07-03 15:40:00)  by DorkRawk
I was having some trouble centering my layout in Firefox. It looked fine in IE6 (yes... it's a pain to work in, but it's the nature of the beast when doing internal intranet stuff) when I simply used "text-align: center;" but the layout wouldn't center until I added "text-align: -moz-center;" under that (in the body style). Is this an acceptable way of doing things? Is this a ...
Size: 690 bytes
Customize:  Customize "Text-align: -moz-center; :: CSS Help :: Dev Shed Forums - Open Source web development"
2. 
Started 2 months ago (2008-07-03 17:06:00)  by Dekudude
I have never used -moz-center, but have always managed to center my layouts. Can you show us the webpage, or post some code? Also, are you making a css DIV layout, or a table layout?
Size: 255 bytes
Customize:  Customize "<b>Reply 1</b>: Text-align: -moz-center; :: CSS Help :: Dev Shed Forums - Open Source web development"
3. 
Started 2 months ago (2008-07-03 18:51:00)  by Kravvitz
It sounds like you expect text-align:center on an element other than a table-cell to center a block-level element, e.g. <div>s and <p>s. That is not how it's supposed to work. Give the block level element margin:0 auto . More information: Four ways to Center Elements with CSS
Size: 546 bytes
Customize:  Customize "<b>Reply 2</b>: Text-align: -moz-center; :: CSS Help :: Dev Shed Forums - Open Source web development"
 

Top contributing authors for Text-align: -moz-center;

Name Posts
DorkRawk 1
Dekudude 1
Kravvitz 1