• Resolved jesseg5

    (@jesseg5)


    My problem is the text I have in the “footer” area is aligning or floating to the left. I want this text to be centered and above the footer image.

    I have tried adjust margins and padding “#footer p” in the stylesheet.css but to no avail. It barely moves!

    Here is my website: link

    #footer {
    	padding: 0px;
    	margin: 0 0 0 -25px;
    height: 91px;
    width: 802px;
    	clear: both;
    	}
    
    #footer p {
    	margin: 0px;
    	padding: 0px 0px;
    color: #999999;
    	text-align: center;
    	}

    Footer.php=

    <hr />
    <div id="footer">
    <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>
    		and <a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
    <?php bloginfo('name'); ?> ? 2008
    		<!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. -->
    </div>
    </div>		
    
    <?php wp_footer(); ?>
    </body>
    </html>

    Please help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jesseg5

    (@jesseg5)

    I figured it out!

    In the footer.php file above:

    <p> needs to be placed before “<a href

    </p> before both closing divs

    The text inside your footer <div> lacks <p></p> tags, that’s why your css is not working, anyway add text-align: center; to #footer and you are done

    Edit:I’m being very slow today

    Thread Starter jesseg5

    (@jesseg5)

    it’s ok thanks anyways!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Footer text won’t align!’ is closed to new replies.