View Full Version : Text not Centering!

<?austin ?>
10-26-2006, 01:29 AM
grrr, i have some misbehaving text that forsomereason is deciding to go to the left when i say Text-align: center;
i validated the page and everything and it still is messing up. i deleted the text-align: left; in the wrapper div and it still is acting up! im stumped.

relevent code:

#content {


<div id="content">
$number = "5";

the page renders as so: http://flashanims.com/flashanims.php

view the source to see the entire code. thanks!

10-26-2006, 01:39 AM
Check cutenews template. You are just including a few divs in there. The text properties will inherit the actual div they are in, not layers.

10-26-2006, 01:38 PM
Try this for your #content div

#content {
text-align:center; does not center block level elements

<?austin ?>
10-26-2006, 11:02 PM
oh, i thought the cutenews shownews.php only generated text and the rest was up to me for actually using it (ie: divs etc) thanks!

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum