Forum:Help with left and right

Won't show and stuff on this page--Funkey100 (talk)http://www.wikia.com/skins/common/progress-wheel.gif 21:25, June 7, 2010 (UTC)
 * Those aren't HTML tags and won't work like does. Try   and   instead. -- 21:26, June 7, 2010 (UTC)

thanks Funkey100 (talk)http://www.wikia.com/skins/common/progress-wheel.gif 21:38, June 7, 2010 (UTC)


 * Someone told me that was being deprecated from HTML 4 and beyond and   should be used when you want to center... I just don't like all that extra typing. ;-) --  Fandyllic  (talk &middot; contr) 3:25 PM PST 7 Jun 2010
 * Yep. -- 22:28, June 7, 2010 (UTC)
 * The align attribute of &lt;div&gt; is deprecated as well, and is not supported in HTML 4.01 Strict / XHTML 1.0 Strict DTD. but that will only be an issue if wikia moves away from XHTML 1.0 Transitional DTD. the "proper" way is  with right and center used as needed. --Roguebfl(talk) 22:47, June 7, 2010 (UTC)
 * text-align is not the same as align. text-align aligns the contents with regard to the container, whereas align aligns the container to the page. See http://www.w3schools.com/css/css_align.asp for the real way to CSS align. -- 22:53, June 7, 2010 (UTC)
 * yes text-align often requires container divs and float and clear is often better for replacing align on a tag. But it is more often the correct answer to &lt;center&gt; and the the theoretical &lt;left&gt; &lt;right&gt; that the other options so I did not list them.
 * But be careful with w3schools they are not associated with the W3C despite then name, and have habit of presenting IE only code as if it was part of the standard. but other wise a good site. --Roguebfl(talk) 23:05, June 7, 2010 (UTC)
 * Meh, rarely, but they present it better than any other site. -- 23:22, June 7, 2010 (UTC)


 * I've noticed  does not work reliably in many cases, whereas   almost always does. If align:center; were supported better, I would use it. --  Fandyllic  (talk &middot; contr) 5:34 PM PST 7 Jun 2010
 * is not valid, it's either or (also notably there is no style="float:center;") . But text-align doesn't always work the way you want it either, I agree.  I mainly use align="center" because: 1) it gets me the effect I want; 2) it's currently supported widely; 3) it's shorter to type. -- 00:38, June 8, 2010 (UTC)


 * The reason why is only affecting the content of the div, is because to properly center the div, you have to use  but for this to work the width of the div must be set otherwise it defaut to 100% of the parent. — TulipVorlax 08:31, June 8, 2010 (UTC)